FormidableLabs / FormidableLabs/react-swipeable

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

Open
#327 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
2.1k
Forks
149
PR merge metrics
No merged PRs in 30d

Description

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 👍

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.