-
Notifications
You must be signed in to change notification settings - Fork 24.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Experimental pointer events conflicting with bottom-sheet gestures #50024
Comments
Warning Could not parse version: We could not find or parse the version number of React Native in your issue report. Please use the template, and report your version including major, minor, and patch numbers - e.g. 0.76.2. |
Warning Could not parse version: We could not find or parse the version number of React Native in your issue report. Please use the template, and report your version including major, minor, and patch numbers - e.g. 0.76.2. |
Hey, Thanks for reporting this issue. It seems like this issue is actually unrelated to React Native core. Please open this issue against this other repository: https://github.com/gorhom/react-native-bottom-sheet/issues I'll be closing this but feel free to reopen if the other repo points back to us as a issue in the core of React Native. also cc @gorhom for visibility |
@gorhom for reference I tried to create an issue multiple times, but it always gets automatically closed because it cannot be reproduced using a "snack", I can only provide the github repo to reproduce due to the need for compilation with feature flags enabled. See: gorhom/react-native-bottom-sheet#2204 let me know if I can provide any additional detail or if the issue can be reopened manually |
Description
When experimental pointer events are enabled (https://reactnative.dev/blog/2022/12/13/pointer-events-in-react-native#enable-feature-flags) and a bottom-sheet is closed via touch gestures (https://github.com/gorhom/react-native-bottom-sheet) the pointer events stop working. (issue happens on both Android and iOS)
Honestly not sure where is the issue between
But maybe you may have some ideas and eventually direct me to culprit.
Thanks.
Related: gorhom/react-native-bottom-sheet#2201
Related: software-mansion/react-native-gesture-handler#3445
Steps to reproduce
onPressIn
as well asonPointerDown
eventsNote: if the sheet is close with the "close" button, then the issue does not occur
React Native Version
0.78.0
Affected Platforms
Runtime - Android
Areas
Other (please specify)
Output of
npx @react-native-community/cli info
Stacktrace or Logs
Reproducer
https://github.com/axyz/rn-bug-pointer-events-bottom-sheet
Screenshots and Videos
No response
The text was updated successfully, but these errors were encountered: