Skip to content

Exclude children from the gesture #428

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

You must be logged in to vote

One way of doing this: https://codesandbox.io/s/intelligent-sanderson-6ox7y

I understand the request though, if there's a more elaborate use case, we could add an option like accepting an array of nodes that would be tested against when the gesture starts and that would prevent the gesture.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@odusseys
Comment options

@dbismut
Comment options

Answer selected by odusseys
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