metafizzy / flickity

:leaves: Touch, responsive, flickable carousels
https://flickity.metafizzy.co
7.53k stars 602 forks source link

images cut-off when multiple flickity carousels are used in one page #713

Closed tyte closed 6 years ago

tyte commented 6 years ago

Hello! I use multiple (more than 20 :)) flickity carousels in one page. First couple of carousels are showing images in whole, but as I scroll down, the images are cut-off. As soon as I resize the window just a little bit, everything is being shown as it should.

Below is an example of how the cut-off image looks fireshot capture 047 - maria angquist klyvare - http___new mariaklyvare se_

Do you know what kind of problem it is and how I could solve it?

yaodingyd commented 6 years ago

Are you using imagesLoaded: true for all instances?

tyte commented 6 years ago

No, I am not using it. Would it help?

yaodingyd commented 6 years ago

@tyte yes. check out official guides on this

tyte commented 6 years ago

It worked. Thank you!