gs-shop / vue-slick-carousel

🚥Vue Slick Carousel with True SSR Written for ⚡Faster Luxstay
https://gs-shop.github.io/vue-slick-carousel/
Other
801 stars 186 forks source link

Autoplay does not stop immediately on hover, when using pause(), and pauses autoplay despite not hovering #268

Open kubra-uzun opened 1 year ago

kubra-uzun commented 1 year ago

I have a slider with the following props:

slidesToShow: 1,
slidesToScroll: 1,
infinite: true,
cssEase: "linear",
autoplay: true,
speed: 9000,
autoplaySpeed: 9000,
variableWidth: true,
swipeToSlide: false,
waitForAnimate: false,
arrows: false,

I'm experiencing the following issues which might be intended behaviour or not:

  1. Autoplay does not stop the slider immediately on hover. I want the slider to stop quickly after hovering, not waiting for the animation to complete. Same issue when using play() or pause() when clicking on a button.
  2. When autoplay stops on hovering, it also takes a long time to restart it i.e. the autoplayTimer depends on the autoplay speed. Would it be possible to set the autoplay timer through a prop?
  3. If I hover once on the slide but then move the mouse from the element, it still triggers pausing of the autoplay despite not actively hovering.

Is there any solutions to the above issues?