Skip to content

Add a way to detect intentional and non-intentional gesture state #179

Answered by dbismut
krispya asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @Krispy3000, thanks for the detailed issue. I think I understand. Maybe you could use the useGesture hook and put the stop logic inside onPointerDown while keeping the intentional options for onDrag?

I also myself have a tendency to put everything into useDrag, but useGesture supports native handlers which can actually be useful ;)

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by dbismut
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #179 on December 09, 2020 10:36.