vasyabigi / angular-slick

Angular directive for slick-carousel
http://vasyabigi.github.io/angular-slick/
MIT License
500 stars 237 forks source link

Bug doesnt display anything until autoplay begins #167

Open jammed343 opened 7 years ago

jammed343 commented 7 years ago

When using

<slick autoplay="true" autoplay-speed="3000" infinite="true" speed="1000" slides-to-show="2">

It will wait 3 seconds and have a completely empty screen before update is triggered and anything shows.

If I resize the window before 3 seconds everything updates.

Running $(window).trigger("resize");

After a timeout is a hacky fix to this.

crf112 commented 7 years ago

I am having the same issue.

<slick infinite="true" dots="true" autoplay="true" slides-to-show="1" touch-move="1" slides-to-scroll="1">