gs-shop / vue-slick-carousel

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

Setting autoplaySpeed to zero and speed to a higher value causes transition/animation to break #269

Open kubra-uzun opened 1 year ago

kubra-uzun commented 1 year ago

I have these props on a slider with seven slides:

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

This works fine. However, it takes the autoplay ~9 sec. to start animating. If I set it autoplaySpeed to zero or less than 9000, the transition/animation breaks.

Any suggestions on the cause of the issue or a fix? Thanks 🙏