This repository has been archived by the owner on Nov 27, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: improve keyboard handling during tab change
Currently the keyboard is dismissed only when a swipe gesture starts. This commit changes the behaviour so that: - Keyboard is dismissed if the tab index changes - When a gesture begines, keyboard is dismissed, but if the index didn't change at end of the gesture, it's restored This is closer to iOS native behaviour and is based on previous work by [@skevy](https://github.com/skevy) in react-navgation: react-navigation/react-navigation#3951 The old behaviour is left as the 'on-drag' option for backward compatibility.
- Loading branch information
Showing
4 changed files
with
59 additions
and
17 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
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
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
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