slick
slick copied to clipboard
pauseOnHover resets autoplay timer
Hi,
I made a little progress transition on each slick-dot which pauses, when hovering over the dots or slider item and resumes after it. The thing is, that the autoplaySpeed is set to 4000ms and it takes another 4000 ms now until the next slide shows up. So the worst case is, that the timer takes 8000ms when hovered once leading to a fully progressed transition on the dots for 4 seconds.
The expectation for the setting pauseOnHover would be, that the timer resumes on that point where the hover set in.
Please implement a setting "resetTimerAfterPause", so one can choose the desired behavior.
Or implement onPause/onPlay event with special css class on the carousel container ?
Did anything ever come of this? I'm currently having to use Slick on an inherited project and I agree with @shooby83 that it would be really handy to have a resetTimerAfterPause
setting, as I'd be inclined to set it to false
.