kenwheeler / slick

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

When set to infinite = true, first slide moves to bottom and not show up #4109

Closed vutuanlinh2k2 closed 3 years ago

vutuanlinh2k2 commented 3 years ago

short description of the bug / issue, provide more detail below.

====================================================================

[ paste your jsfiddle link here ]

My setups: infinite: true, showDots: true, autoplay: true, autoplaySpeed: 5000, speed: 1250,

Render code:

Screen Shot 2021-06-11 at 5 02 13 PM

====================================================================

Steps to reproduce the problem

my Slider has 3 items when I set infinite = false, everything works fine, when I set infinite = true, the first item moves to bottom and disappear

Screen Shot 2021-06-11 at 4 52 55 PM Screen Shot 2021-06-11 at 4 56 26 PM

react-slick version: 0.25.2