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
I'm using useLongpress hook, and it's working fine, but when users scrolls, i do not want the event to be fired, or i would have the ability to detect move in the event parameter.
Do you think it's possible ? Am I missing something already existing ?
Regards.
The text was updated successfully, but these errors were encountered:
For anyone looking for this still, a solution that seems to be working great for me is to simply track the current scroll position at start use it to compare with the current scroll position when the callback is fired.
Hi
I'm using useLongpress hook, and it's working fine, but when users scrolls, i do not want the event to be fired, or i would have the ability to detect move in the event parameter.
Do you think it's possible ? Am I missing something already existing ?
Regards.
The text was updated successfully, but these errors were encountered: