Skip to content

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

Open
powowbox wants to merge 1 commit intoionic-team:masterfrom
powowbox:master
Open

[fix][iOS 17 beta] screen not scrolled when keyboard displayed on IOS 17 beta#177
powowbox wants to merge 1 commit intoionic-team:masterfrom
powowbox:master

Conversation

@powowbox
Copy link
Copy Markdown

@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