-
Notifications
You must be signed in to change notification settings - Fork 148
💡 introduce a swipe duration prop #233
Copy link
Copy link
Closed
Labels
Description
We could introduce a similar prop to react-use-gesture's swipeDuration that may possibly alleviate a lot frustration devs have with tracking swipes correctly when users want to actually scroll.
By setting this prop to something "small" like react-use-gesture, 250ms, a swipe could be made more distinguishable vs a scroll. 🤔
This new prop swipeDuration could also be introduced in a backwards compatible way.
- default to
Infinityto keep current behavior
Or set a "sensible" default and bundle it with a new major version 💭
Reactions are currently unavailable