FormidableLabs / react-swipeable

React swipe event handler hook
https://commerce.nearform.com/open-source/react-swipeable
MIT License
1.99k stars 146 forks source link

Possible to stop propagation in custom swiped ? #313

Open raskyer opened 1 year ago

raskyer commented 1 year ago

Hello, I have a swipe listener (on swipe right) at document level and another one (on left and right) in a div. I would like to use event.stopPropagation (as it is possible in onSwiped) but in onSwipedRight / onSwipedLeft.

Is it possible ? Thanks