brainhubeu / react-carousel

A pure extendable React carousel, powered by Brainhub (craftsmen who ❤️ JS)
https://brainhub.eu/
MIT License
1.07k stars 164 forks source link

`infinite` plugin overrides `fastSwipe` behavior #651

Open bmathews opened 3 years ago

bmathews commented 3 years ago

Describe the bug infinite plugin overrides fastSwipe behavior.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://brainhubeu.github.io/react-carousel/docs/examples/swipingSlides
  2. Swipe left/right, observe fastSwipe behavior not working as expected
  3. Remove 'infinite' from example, observe fastSwipe behavior working

Expected behavior fastSwipe + infinite should be compatible

haniotis commented 3 years ago

👍