kenwheeler / slick

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

Verical slick slider flashes all the slides before finding the correct height. #4205

Open AGrush opened 1 year ago

AGrush commented 1 year ago

When the slider opens with vertical mode, it will initially show all the slides then when the js runs it will set it to the correct height.

Setting its parent div to a fixed max-height with overflow hidden obviously is not a great solution as its non responsive. Can we get a feature to hide vertical slide first until its height has been found then show it?

Currently i'm doing it with a mutation observer on the height attribute and waiting for the second mutation lol.