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

Trackpad swipe not detected on desktop #312

Open mauroencinas opened 1 year ago

mauroencinas commented 1 year ago

Describe the bug Trackpad swipe not detected

Steps or Sandbox to reproduce Fork the example codesandbox:

Expected behavior Event should fire usind trackpad.

Device/Browser All desktop browsers with trackpad/touchpad usually laptops.

Additional context It would be very useful for devices like laptops or apple mac desktops that uses a trackpad for scroll/swipe

hartzis commented 1 year ago

🤯 this is a cool idea. i'd love a PR to explore this.