react-native-gesture-handler icon indicating copy to clipboard operation
react-native-gesture-handler copied to clipboard

[Android] ReanimatedSwipeable breaks Modal

Open usmansbk opened this issue 1 year ago • 2 comments

Description

<Swipeable /> prevents react-native Modal from rendering properly on Android emulators and real devices.

Screenshot

Steps to reproduce

  1. Render reanimated Swipeable component
  2. 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

usmansbk avatar Nov 16 '24 11:11 usmansbk

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

latekvo avatar Nov 22 '24 12:11 latekvo

any update so far?

sumanbhattarai avatar Jan 25 '25 19:01 sumanbhattarai

Also ActionSheet doesn't render if there is a ReanimatedSwipeable on the same screen...

ChrisWiles avatar Sep 10 '25 23:09 ChrisWiles