react-native-gesture-handler
react-native-gesture-handler copied to clipboard
[Android] ReanimatedSwipeable breaks Modal
Description
<Swipeable /> prevents react-native Modal from rendering properly on Android emulators and real devices.
Steps to reproduce
- Render reanimated Swipeable component
- Render a visible Modal
Snack or a link to a repository
https://github.com/usmansbk/reanimated-swipeable-bug
Gesture Handler version
2.21.0
React Native version
0.76.2
Platforms
Android
JavaScript runtime
Hermes
Workflow
Expo managed workflow
Architecture
Fabric (New Architecture)
Build type
Release mode
Device
Android emulator
Device model
Pixel 2
Acknowledgements
Yes
Hi thank you for reporting this.
This is an issue with Animated.View on fabric, there isn't really a way around using it in ReanimatedSwipeable,
we'll have to wait for the following issue to be resolved: https://github.com/software-mansion/react-native-reanimated/issues/6659
any update so far?
Also ActionSheet doesn't render if there is a ReanimatedSwipeable on the same screen...