Answer the question
In order to leave comments, you need to log in
How to make infinite slider with variableWidth in Slick?
Here is a slider, it is endless, it has 1 slide taking up half (2/4) and several 1/4
But when it reaches the end, this happens:
Why is this happening?
{
dots: true,
arrows: true,
infinite: true,
swipeToSlide: true,
speed: 800,
slidesToShow: 1,
slidesToScroll: 1,
variableWidth: true,
autoplay: false,
cssEase: 'ease-in-out',
dotsClass: 'main-dots'
}
Answer the question
In order to leave comments, you need to log in
And how should it happen? Three slides fit, the fourth didn't fit, everything is logical.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question