[Android][New Arch] Buttons inside Animated.View with translate are not clickable #6676
Labels
Platform: Android
This issue is specific to Android
Repro provided
A reproduction with a snippet of code, snack or repo is provided
Description
On my app, I have buttons inside Animated Views that translate up.
Right after the translation finished, the pressable action of the button is not executed on click.
If we execute another action (ex. navigating on an other tab and come back), the pressable action is executed on click.
This is what we see on the repro below:
Additional notes:
onPress
callback is'nt triggeredCode
Code looks like this:
A full example can be found here: https://github.com/delphinebugner/repro
Further notes
Thanks for working on the lib 🙂
If the problem is linked to a messy Reanimated usage in the component, happy to correct my code!
Steps to reproduce
On the repro application:
Snack or a link to a repository
https://github.com/delphinebugner/repro
Reanimated version
3.16.1
React Native version
0.75.0
Platforms
Android
JavaScript runtime
Hermes
Workflow
Expo Dev Client
Architecture
Fabric (New Architecture)
Build type
Debug app & dev bundle
Device
Real device
Device model
Samsung Galaxy S22
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: