slick
slick copied to clipboard
Wrong container size with native lazyloading
Hi,
we use native lazyloading with attr loading="lazy" in image tag. When you are on some slow network (I use for simulation slow 3G, then is slick inicializied before images are loaded a it has wrong height in div.slick-list
My settings is:
{ dots: true, cssEase: 'linear', adaptiveHeight: true, rows: 0, slidesToShow: 1, autoplaySpeed: 3000, }
There is slider (second one, not the first in top with testimonials):
https://mladypodnikatel.cz/eshop-klub
Is there any fix how can we solve this issue?
Thank you
+1 We have the Same Problem
I am facing the same issue!
This is an issue - you may need to suppress the lazy attribute on the images as a workaround. otherwise it inits at the wrong size.
+1. We encounter the same problem
Bump.