Closed Amagnum closed 8 months ago
+1
I have the same issue
Did you solve this problem? If this problem is solved, please share.
keyboardShouldPersistTaps={'handled'}
add this on your actionsheet props
This helped me: https://stackoverflow.com/a/60241687/5483946
It's very important to note that in the scrollview scenario, some oddity occurs when you have a scrollview in a react-native modal.
Just adding keyboardShouldPersistTaps={'always'} on the scrollview in the modal alone will not work.
If you have scrollviews in any ancestors, they must also have keyboardShouldPersistTaps={'always'} declared on their components
Adding keyboardShouldPersistTaps="handled"
to ActionSheet Props worked for me.
I have a button and an input text in the content of the action sheet. On inputting text, the keypad opens, but when clicking on the button (keyboard is open), the keypad goes down but doesn’t call onClick after that. You need to click on “Button” again to trigger onClick.
v0.8.10