Skip to content
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

iOS 12 KeyboardShrinksView keyboard dismissed on WKWebView #91

Open
byronigoe opened this issue May 4, 2019 · 0 comments
Open

iOS 12 KeyboardShrinksView keyboard dismissed on WKWebView #91

byronigoe opened this issue May 4, 2019 · 0 comments

Comments

@byronigoe
Copy link

The normal window.innerHeight and document.documentElement.clientHeight on an iPhone XS are 734. With KeyboardShrinksView enabled, opening the keyboard resizes the view perfectly on iOS12 with WKWebView. However, when the Keyboard is closed/dismissed the view resizes to 812 instead of 734, which makes the app look like its height is very small (maybe 812 % 734 = 78px?).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant