-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
window.visualViewport.height is not correct on Safari IOS15 #78
Comments
in my case |
Is it related to https://bugs.webkit.org/show_bug.cgi?id=229876 |
This is a WebKit/Safari issue - the VisualViewport spec doesn't dictate which UI should cause a resize in the visual viewport (vs. overlaying it silently) so this is UA dependent. |
window.visualViewport.addEventListener("resize", resizeHandler) |
54 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Since the IOS15 release, the address bar is a move to the bottom position. And I tested with some scenarios like the keyboard is visible. Then the window.visualViewport.height is not pretty accurate.
The text was updated successfully, but these errors were encountered: