akiran / react-slick

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

Stop autoplay immediately #1373

Open hoantran-it opened 6 years ago

hoantran-it commented 6 years ago

Example: See here

I can not do anything (prev, next, change) when slider is sliding. I have to wait it finish the sliding to do another action. Do we have any suggestion to fix it?

Sabre36 commented 5 years ago

Same issue. This is especially problematic when fade=true because a user cannot easily click on dots or arrows buttons.

What I'd like is for a dot/arrow button's click event to immediately suspend autoplay, change to the slide in question, then resume autoplay. Is there a work-around (like rolling my own even handlers)?

let settings = { dots: true, arrows: true, infinite: true, speed: 9000, slidesToShow: 1, slidesToScroll: 1, swipeToSlide: true, autoplay: true, pauseHover: true, fade: false, focusOnSelect: true, adaptiveHeight: false, };

sanketpathak64 commented 3 years ago

@akiran I can take up this issue where do I look this up in the code?

flogaribal commented 2 years ago

Any news about this?

Olamarx commented 2 years ago

@sanketpathak64 Please, were you able to fix and submit this issue? Was there a response to it, please?

agarwalhimanshugaya commented 1 year ago

@akiran can i take up this issue i want to work on this issue