-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Labels
Platform: AndroidThis issue is specific to AndroidThis issue is specific to AndroidRepro providedA reproduction with a snippet of code, snack or repo is providedA reproduction with a snippet of code, snack or repo is provided
Description
Description
Real Android device - touch events are not triggered after scrolling when view has animated style (useAnimatedStyle) with a zIndex change.
I am not sure if this belongs in react-native-reanimated or react-native-gesture-handler as the bug involves them both (I tried to find a ticket there as well).
Steps to reproduce
- Install a new RN project, I used:
npx @react-native-community/cli@latest init --version 0.78.3 TabControllerAndroid - Install
react-native-reaniamted(3.19.3) andreact-native-gesture-handler(2.29.0) - Configure
babel.config. - Replace the code in
App.tsxwith the snack (link below). - Install the app on a real Android device.
- Press a card (left tab) - log will be recorded ✅
- Scroll down in the same tab.
- Press a card - log will be recorded ✅
- Change to the right tab.
- Press a card (left tab) - log will be recorded ✅
- Scroll down in the same tab.
- Press a card (left tab) - log will not be recorded ❌
- Change to the left tab.
- Scroll down in the same tab.
- Press a card (left tab) - log will not be recorded ❌
Snack or a link to a repository
https://gist.github.com/M-i-k-e-l/092cdc48d3952ee227d04e905e8a0a52
Reanimated version
3.19.3
Worklets version
none
React Native version
0.78.3
Platforms
Android
JavaScript runtime
Hermes
Workflow
React Native CLI
Architecture
New Architecture (Fabric renderer)
Build type
No response
Device
Real device
Host machine
macOS
Device model
Pixel 9a API 36
Acknowledgements
Yes
Metadata
Metadata
Assignees
Labels
Platform: AndroidThis issue is specific to AndroidThis issue is specific to AndroidRepro providedA reproduction with a snippet of code, snack or repo is providedA reproduction with a snippet of code, snack or repo is provided