You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Doing this doesn't update the Gesture state and I can still move the component.
If I use a useState it works but causes some flickerings on the animation.
Can I force the Gesture to update using a useSharedValue? Or is there a better way to disable gestures dynamically?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I've been trying to solve this for days but I can't find an answer to it.
Let's say I have this simple code:
Doing this doesn't update the Gesture state and I can still move the component.
If I use a useState it works but causes some flickerings on the animation.
Can I force the Gesture to update using a useSharedValue? Or is there a better way to disable gestures dynamically?
Thanks in advance 🙏
Beta Was this translation helpful? Give feedback.
All reactions