Closed ismaelsousa closed 1 month ago
Hey! 👋
The issue doesn't seem to contain a minimal reproduction.
Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem?
Duplicate of #2727
Hi @m-bert, in my case was an inline declaration of a function to run in the runOnJS
workletContext {
runOnJS(() => onGestureCancel?.())();
}
For me was happening in the implementation of the react-native-drawer-layout
while using the useAnimatedGestureHandler
For the fix just need to create the function in the JSContext
Check the official fix for this: https://github.com/react-navigation/react-navigation/commit/3cfb3e63949f0aa6f4b14db02161dd88fd10cb12?diff=unified&w=1
Description
I am facing this
The gesture is re-throwing the event and the reanimated is listening. I am not able to determine where this is happening
Do you know when this code is executed?
link to code
Steps to reproduce
I can't reproduce it
Snack or a link to a repository
https://github.com/software-mansion/react-native-gesture-handler/blob/ee4f11b4f2373b834bb24a710a1901dd4db3efee/android/src/main/java/com/swmansion/gesturehandler/react/RNGestureHandlerModule.kt#L542
Gesture Handler version
2.12.0
React Native version
0.71.15
Platforms
Android, iOS
JavaScript runtime
Hermes
Workflow
React Native (without Expo)
Architecture
Paper (Old Architecture)
Build type
Release mode
Device
Real device
Device model
Galaxy A53 5G
Acknowledgements
Yes