react-swipeable icon indicating copy to clipboard operation
react-swipeable copied to clipboard

how can I fire an event for swipe start and swipe end?

Open storycoding opened this issue 2 years ago • 0 comments

I'm attempting to simulate a joystick behaviour using your library.

Expectation:

  • A swipe and hold should fire the onSwiping event
  • The continuous gesture of swiping should not be necessary

The solution I have in mind would be to fire an event when the swiping starts, and another when the touch is released.

What is your suggestion to achieve this behavior? Thank you for your time 👍

storycoding avatar Apr 29 '23 10:04 storycoding