I've got a chat page layout web application with input at the bottom, and a header at the top. when the input is in focus the page moves up.
These headers are present in my page for preventing zoom or other unwanted behaviour.
<meta name="viewport" content="width=device-width,initial-scale=1">
When trying to resize the window using javascript using window.innerHeight
but that doesn't work as well even with a setTimeout()
Is there a workaround for the browser to not pan the whole page up, or resize with subtracting height of keyboard?
from Webpage slides up when soft keyboard is active
No comments:
Post a Comment