kenwheeler / slick

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

multiple slick-center when number of slides is the same as can be shown at one time. #4172

Open 2dareis2do opened 2 years ago

2dareis2do commented 2 years ago

I am experiencing an issue with the first and the last slide when using centre mode. If the number of items is the same as the maximum items shown. This is easily replicated taking a fork of the above.

https://codepen.io/twodareis2do/pen/oNoMMRy

slick-center class is added to first and last slides

2dareis2do commented 2 years ago

I have a work around by simply adding all slides twice.