Open asalha opened 3 years ago
TouchableHighlight
works ONLY if you import it from react-native-gesture-handler
, not react-native
!
TouchableHighlight works ONLY if you import it from react-native-gesture-handler, not react-native!
This fix works only in Android, but not on iOS.
The following one works for both: https://gorhom.github.io/react-native-bottom-sheet/troubleshooting/#pressables--touchables-are-not-working-on-android
Please close this issue.
Current Behavior
Very weird behavior. If I use Pressable, the click is detected once over 100 of the times. With TouchableHighlight, it works perfectly!
How to reproduce
When I replace in the code below TouchableHighligth with Pressable, it doesn't work
Your Environment