Closed SickanK closed 1 month ago
Thanks for reporting. I'll check when I get a chance, haven't tried combining both yet.
I took a look on this one but unfortunately, this is beyond me.. I don't know how RNGH internals works regarding gestures but somehow the wrapped ScrollView
doesn't play well with the sheet.
I believe the solution has something to do with the waitFor
prop to handle overlapping gestures. However, it's not compatible with the native sheet gesture.
I don't know your use-case but try to stick with GestureDetector
which works right out of the gate.
Description When using a ScrollView wrapped with a GestureHandlerRootView, the sheet open and close gesture stops working. The gesture functions correctly when using either a ScrollView or a GestureHandlerRootView individually, but fails when they are combined.
Steps to Reproduce
Reproduction Repository A minimal reproduction of this issue can be found at: https://github.com/SickanK/true-sheet-rngh-scrollview
Environment react-native-true-sheet version: 0.12.3 React Native version: 0.74.3 React Native Gesture Handler version: 2.16.1 Platform: Android
Additional Notes
Love react-native-true-sheet so far, looking forward to future updates!