kenwheeler / slick

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

Center mode not working for last slide #3270

Open abdhannan opened 6 years ago

abdhannan commented 6 years ago

Hi, I setup center mode options with some modifications for don't an active slider.

The first load it's not center. See the ss: http://prntscr.com/hpem6z

When I clicked next arrow, that's fine. see: http://prntscr.com/hpemeq

When on the last slide, the problem appears again.

Please help, Thank you!

MaksimRadziuk commented 6 years ago

I've got the same trouble. I'm using vertical:true, slidesToShow:3. The current slider sets to the first one? not to the center. https://maksimradziuk.github.io/toyokawa/ - the slider is in the main page.