Skip to content

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