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, . , , , - .