I
I
ilya_tsym2018-02-21 22:54:12
JavaScript
ilya_tsym, 2018-02-21 22:54:12

Why is the Slick Slider after the last slider abruptly rewinding to the first one?

Hello. Connected Slick Slider, initialized:
$('.slider').slick({
infinite: true,
dots: true
speed: 500,
slidesToShow: 1,
slidesToScroll: 1
});
After the last slider, when you click on the arrow, the first one appears and immediately twists in the reverse order, again to the first one. Maybe someone came across.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Ainur Valiev, 2018-02-22
@ilya_tsym

https://github.com/kenwheeler/slick/issues/1914

D
DM, 2020-05-29
@neverenn

The problem lies in the transition.
Look for it in your CSS file.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question