Creates gap in layout with masonry
-
Hi,
I have a block of images that are laid out using masonry. Between each group of lazy loaded images, a big gap appears. If masonry is triggered again after all images are loaded (like if you resize your window) then everything goes back to normal, but the initial layout is broken.
I suspect this is linked to image dimensions (and / or aspect ratio) not being properly calculated before they are actually loaded (and the other issue titled “Images overlapping in mansory” might be related as well).
Do you make use of the “lazysizes aspectratio extension” in your plugin, which supposedly helps with that?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Creates gap in layout with masonry’ is closed to new replies.