kenwheeler / slick

the last carousel you'll ever need
kenwheeler.github.io/slick
MIT License
28.34k stars 5.88k forks source link

Slick Slider Last slide becomes first (duplicate/Clone) #4138

Open Vincent-Mogale opened 2 years ago

Vincent-Mogale commented 2 years ago

Has anyone of you ever came across an issue with slick where your last slide gets duplicated/cloned to become the first slide? When I set infinite : true, this happens. And when I set infinite to false, the last slide becomes empty. Generally, I have 3 images to show on the slick slider, I set the dots to true so I can track the number of slides, it shows 4 dots, that means there'sa ghost slide that's being created, which is a clone of the last slide placed at the beginning.

If anyone has a solution to this, please help.