I'm facing a dilemma with my web site "application" that functions as a web page accessed through browsers like Chrome. When testing on iOS, the keyboard appearing (through an input element) doesn't alter the viewport or resize anything. However, on Android, it does, causing significant layout issues for my application. The challenge lies in accommodating both portrait and landscape view orientations.
While I have come across solutions related to android:windowSoftInputMode activity configurations and handling keyboard display with media queries, I haven't found guidance on how to implement this when viewing a web page through Chrome or other browsers.
Has anyone discovered a method to address this using JavaScript or another in-page code? Any suggestions would be greatly appreciated.