kenwheeler / slick

the last carousel you'll ever need
kenwheeler.github.io/slick
MIT License
28.52k stars 5.88k forks source link

autoplaySpeed didn't get reset if swiping "manually" #1081

Open SunboX opened 9 years ago

SunboX commented 9 years ago

If you flip through the cards with you finger (manual) the autoplaySpeed delay isn't reset. So slick may automatically switch the cards while you still switching them manually.

Expected behavior would be to to start counting down autoplaySpeed after you realeased your finger. So if autoplaySpeed is set to 5 seconds every card gets shown 5 seconds.

NeilJS commented 9 years ago

I have also just noticed this, although for me, it only occurs when setting the autoplay property to false (in order to avoid the pause event bug - see https://github.com/kenwheeler/slick/issues/738).

Also, calling slickPause then slickPlay on afterChange didn't seem to reset the timer either (basically trying to force the slider to reset the timer by pausing, unpausing).

Will keep trying...

karldanninger commented 8 years ago

I'm experiencing the same :/