react-native-gesture-handler
react-native-gesture-handler copied to clipboard
It's unclear how to compose enhanced ScrollView from RNGH and Reanimated
Description
RNGH and Reanimated appear to be designed to be used together. However, both have each own ScrollView export that are incompatible. Concretely, I want the onScroll={{ onBeginDrag, onEndDrag }} handlers from Reanimated (which are better than RN built-ins because RN built-ins are buggy — sigh — and which can run in a worklet). But I also need the waitFor prop from RNGH.
Looking at the source, I might be able to do this via createNativeWrapper but the docs say I shouldn't use it.
Steps to reproduce
irrelevant
Snack or a link to a repository
irrelevant
Gesture Handler version
irrelevant
React Native version
irrelevant
Platforms
Android
JavaScript runtime
None
Workflow
None
Architecture
None
Build type
None
Device
None
Device model
No response
Acknowledgements
Yes
Hey! 👋
The issue doesn't seem to contain a minimal reproduction.
Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem?