Support for keyboard persist taps / tap-through when keyboard is open #583
Closed
andveloper
started this conversation in
Ideas
Replies: 2 comments 1 reply
-
|
Are you experiencing this on ios too? |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
We figured that somewhere in the component hierarchy we had a surrounding ScrollView which didn't set the keyboardPersistTaps prop to "handled". Sorry for the inconvenience and thanks again for this awesome package 🙌 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, thanks for the great library! I'm running into a UX issue that I wanted to share and suggest as a feature.
Problem
When the keyboard is open (e.g. a TextInput inside the sheet is focused) and the user taps on a button or other interactive element within the sheet content, the first tap dismisses the keyboard instead of triggering the button's
onPress. The user has to tap a second time to actually trigger the action.Expected behavior
Taps on buttons/interactive elements inside the sheet should reach those elements on the first tap, even when the keyboard is open. The keyboard could still dismiss when tapping on non-interactive areas (e.g. blank space), or there could be a configuration option.
Suggested solution
Add native support for "keyboard persist taps" in TrueSheet, similar to
keyboardShouldPersistTapson ScrollView:keyboardPersistTaps?: 'never' | 'handled' | 'always')This feature would greatly improve the form UX when using TextInputs inside sheets. Thank you for the library!
Beta Was this translation helpful? Give feedback.
All reactions