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
It is very convenient that the TapGestureHandler has maxDeltaX or maxDeltaY properties.. because once you drag your finger out of a supposed Button component you are building, you can effectively trigger a onFail event... with LongPressGestureHandler however, it is impossible to do this. lets say you are building a button that required long press handler, and you want the gesture to fail if the person moves the finger a specified distance, it is not possible.. or is it? I looked at the documentation and tried many things.. am I missing something?
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.
-
Hey guys,
It is very convenient that the TapGestureHandler has maxDeltaX or maxDeltaY properties.. because once you drag your finger out of a supposed Button component you are building, you can effectively trigger a onFail event... with LongPressGestureHandler however, it is impossible to do this. lets say you are building a button that required long press handler, and you want the gesture to fail if the person moves the finger a specified distance, it is not possible.. or is it? I looked at the documentation and tried many things.. am I missing something?
Beta Was this translation helpful? Give feedback.
All reactions