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

[fix][iOS 17 beta] screen not scrolled when keyboard displayed on IOS 17 beta #177

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

powowbox
Copy link

@powowbox powowbox commented Jul 6, 2023

Perhaps the issue will be fix on the final version of iOS 17. If it shouldn't be the case, here is a fix.

The keyboard height is not correct the first time callbacks onKeyboardWillShow and onKeyboardDidShow are displayed. The value is 44 instead of an awaited value around 300.

Since the next time the callbacks are called, the height value is correct, it seems enough to ignore the first calls by setting a guard when the keyboard height is too low to be the right one.

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

Successfully merging this pull request may close these issues.

1 participant