window.Telegram.WebApp.viewportHeight returns incorrect value when on-screen keyboard(OSK) is opened. The value doesn't change either the OSK is opened or not.
To Reproduce
Steps to reproduce the behavior:
Open @nb_bottle_bot from ios
Open mini-app by clicking the menu button
Click on input and check the window.Telegram.WebApp.viewportHeight value. It shows the same size as if OSK wasn't open.
Platform
Select platforms where this bug is reproducible:
Describe the bug
window.Telegram.WebApp.viewportHeight returns incorrect value when on-screen keyboard(OSK) is opened. The value doesn't change either the OSK is opened or not.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
window.Telegram.WebApp.viewportHeight returns correct visual viewport height