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

Trackpad swipe not detected on desktop

Open mauroencinas opened this issue 3 years ago • 1 comments

Describe the bug Trackpad swipe not detected

Steps or Sandbox to reproduce Fork the example codesandbox:

  • https://codesandbox.io/s/react-swipeable-image-carousel-hben8

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

mauroencinas avatar Oct 12 '22 16:10 mauroencinas

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

  • is a swipe with one touch? two?
  • what specific events do we track?
  • are there any example libraries that do this right now?

hartzis avatar Apr 26 '23 15:04 hartzis