Application messed up in popup menu

In my web application, my login page is broken when the keyboard is opened. In the development of Android, this can be solved by changing the android:windowSoftInputMode="stateVisible|adjustResize"manifest file. Can this be done for web applications developed in Javascript?

+4
source share
1 answer

If your webapp becomes abnormal when the keyboard scrolls up, there is often a problem with css and then a problem with javascript. Because in most browsers, the top of the keyboard will become the new bottom of the page when you scroll the keyboard. For example, if you set an element to position:absolute; bottom:0;, you will see that the element will treat the top of the keyboard as the bottom of the page.

, position:relative; , , , . , , javascript, window, . , , , - .

+2

Source: https://habr.com/ru/post/1536073/


All Articles