akiran / react-slick

React carousel component
http://react-slick.neostack.com/
MIT License
11.76k stars 2.11k forks source link

React Slick breaks on fast scroll #1725

Open krcaltomas99 opened 4 years ago

krcaltomas99 commented 4 years ago

Try scrolling with your mouse really fast and let go as soon as possible. You need to go forwards two times and then back to reproduce the bug

Can be seen on the default demo https://codesandbox.io/s/ppwkk5l6xx

inquiztr commented 4 years ago

Oh man. I just ran into this on a project im working on.
I just spent 2 days trying to get this to work in a flex based layout and then i discovered this issue.

inquiztr commented 4 years ago

It doesn't seem to be a problem when switching the transition to fade.

vispaduchuri commented 4 years ago

1740

alexerlandsson commented 4 years ago

Anyone found a workaround for this issue yet? Experiencing the same issue when swiping backwards in the slider. It only occur while swiping with a mouse input and not when using arrow navigation.