Closed mgcrea closed 4 months ago
Hi! I took the liberty of correcting Gesture Handler versions in PR title and description 😅
Could you please check if #2969 solves this issue?
@m-bert while it does fix it in the reproduction demo, unfortunately I'm still noticing the issue on my actual app (unless I made a mistake somewhere). Is there an easy way for me to inspect the gesture tags to help you check if the bug is still there?
Will double check.
Well, you can try to log tags
from event in gesture callbacks, but I'm afraid that without diving into source code it will be hard to find what is going on.
If you'd like to, you can try to look into attachHandlers
and updateHandlers
since they were problematic in your reproduction.
Unfortunately, without proper reproduction we can't do much 😞
I will try to reproduce it in the repo, might be related to the number of children inside the SVGMask on the actual app, thanks for the guidance and hopefully we can find a fix!
@m-bert good news, I was wrong and the fix is indeed working, not sure why but my actual app does not use the built output from either lib/commonjs
or lib/module
that I had patched but the typescript code from the src/
.
Fixed the patch and it works! Thanks a lot!
Description
I have some kind of zoom view in my application that has a pan/pinch/rotation gestures attached to it, on top of it I have an svg overlay (using
StyleSheet.absoluteFill
) that also has a pan gesture (in my case only for mouse/stylus but it does not matter). I configure simultaneousWithExternalGesture on this extra pan gesture.This worked well before and had both gesture working but after updating to 2.17.1 (tried 2.17.0 as well), the zoom view gesture is not working anymore.
Steps to reproduce
Snack or a link to a repository
https://github.com/mgcrea/react-native-reanimated-sandbox/tree/bug-gesture-handler-1
Gesture Handler version
2.17.1
React Native version
0.74.2
Platforms
iOS
JavaScript runtime
Hermes
Workflow
React Native (without Expo)
Architecture
Paper (Old Architecture)
Build type
Debug mode
Device
Real device
Device model
iPad Pro
Acknowledgements
Yes