-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: height of software keyboard when using hardware keyboard on iOS
UIKeyboardDidShowNotification on iOS 18.2 returns an incorrect end frame origin when opening the on-screen keyboard with a hardware keyboard attached. Instead of relying on this incorrect frame, return the height of the keyboard view in response to UIKeyboardDidShowNotification and 0 in response to UIKeyboardDidHideNotification. State changes are now completely handled in response to notifications, and updateKeyboardFrame is only responsible for animation tracking.
- Loading branch information
Showing
1 changed file
with
25 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters