react-native-gesture-handler doesn't work in react-native-modal on android devices
See original GitHub issueEnvironment
info Fetching system and libraries information… System: OS: macOS 10.15.3 CPU: (4) x64 Intel® Core™ i5-7267U CPU @ 3.10GHz Memory: 1.83 GB / 8.00 GB Shell: 5.7.1 - /bin/zsh Binaries: Node: 10.17.0 - /usr/local/bin/node Yarn: 1.22.4 - /usr/local/bin/yarn npm: 6.14.5 - /usr/local/bin/npm Watchman: 4.9.0 - /usr/local/bin/watchman Managers: CocoaPods: 1.9.1 - /usr/local/bin/pod SDKs: iOS SDK: Platforms: iOS 13.4, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2 Android SDK: API Levels: 23, 24, 25, 26, 27, 28, 29 Build Tools: 23.0.1, 25.0.2, 25.0.3, 26.0.2, 26.0.3, 27.0.0, 27.0.3, 28.0.3, 29.0.0, 29.0.2, 29.0.3 System Images: android-23 | Intel x86 Atom, android-23 | Intel x86 Atom_64, android-23 | Google APIs Intel x86 Atom, android-27 | Google APIs Intel x86 Atom, android-28 | Google APIs Intel x86 Atom, android-29 | Google APIs Intel x86 Atom Android NDK: Not Found IDEs: Android Studio: 3.6 AI-192.7142.36.36.6392135 Xcode: 11.4/11E146 - /usr/bin/xcodebuild Languages: Java: 1.8.0_152 - /usr/bin/javac Python: 2.7.15 - /usr/local/bin/python
Platforms
Android
Versions
- Android: 9
- iOS:
- react-native-modal: 11.5.6
- react-native: 0.62.2
- react: 16.11.0
Description
I can use PanGestureHandler
from react-native-gesture-handler
with no problem, but if I put it in react-native-modal
, it won’t work.
I think it must be conflicted with the gesture system in react-native-modal
.
Reproducible Demo
https://github.com/chj-damon/react-native-modal-gesture-bug-demo
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:9
Top GitHub Comments
@kristjanm I changed my code following the manual, it still doesn’t work.
you can see the code in the repository.
Having the same issue. Wrapped the component with gestureHandlerRootHOC and still not working