kenwheeler / slick

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

2 rows + responsive breakpoints + unslick doesn't work #4256

Open Nicolas-Bouteille opened 1 year ago

Nicolas-Bouteille commented 1 year ago

Hello, Thank you for this great plugin. Unfortunately, using 2 rows does not work when combined with responsive breakpoints and "unslick" below or above a certain window width. Steps to reproduce: Just use the codepen below, that works perfectly to combine responsive breakpoints with unslick only below 640px, and add the "rows: 2" setting. Play a little bit with window resizing, and witness that when unslick happens, the whole HTML is removed from the DOM. https://codepen.io/f8cUsman/pen/NVxdGB

supercat1510 commented 1 year ago

I can confirm the problem. When I use this combination, the slides get an absurdly high width (13268px) with 2 slides next to each other.