Replies: 1 comment 1 reply
-
AFAIK we have something like that in examples, try rendering two Draggable components. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I tried to use the cross handler docs from react-native-gesture-handler.
I know this is possible with two seperate elements but I need nested pan gesture handler as I'm trying to do a custom pinch.
I am trying to create two pan gesture handlers and two squares. The first square should follow the first finger, and second square should follow the second finger. I used two
PanGestureHandler
s. Maybe should I usePinchGestureHandler
?I kind of accomplished that with this Expo Snack demo: https://snack.expo.dev/@noitidart/pan-handler-per-finger
Problems:
Is this possible?
Here is the code for the snack demo, can copy paste this to Expo Snack:
Beta Was this translation helpful? Give feedback.
All reactions