Closed niklasp closed 4 years ago
For what it's worth I use a psuedo element with padding bottom. Then absolute position the picture inside of it. https://css-tricks.com/aspect-ratio-boxes/
i dont know the aspect ratio before. all images are different. is there no other solution?
Verified. investigating...
For the time being you can use static
to wait for image loaded to resize your carousel
static
prop also not working for me.
@niklasp please check the latest version (3.4.0), I believe @yaodingyd has fixed this.
On Firefox 68.0.2 Flickity is only loading images after the browser window is resized. Tested locally and in the official sandbox https://codesandbox.io/s/qlz12m4oj6. Can anyone confirm? How would I manually trigger a resize Event once the images or the slider is loaded?