You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use a masonry block on a gallery of images which are lazy loaded. The container will get set to an unreasonable height and all the images will be placed at the bottom. Resizing the browser will trigger a recalc and fix the layout. OR, scrolling to the bottom will trigger the remaining images to load and then the container will recalc.
Screenshots, screen recording, code snippet or Help Scout ticket
No response
Environment info
No response
Is the issue you are reporting a regression
No
The text was updated successfully, but these errors were encountered:
Kevin-Hamilton
added
the
bug
This label could be used to identify issues that are caused by a defect in the product.
label
Dec 29, 2023
Description
The Masonry block appears to have issues when images are being lazy loaded. I believe a possible fix is to modify here:
otter-blocks/src/blocks/frontend/masonry/index.js
Line 42 in 7cc5ac9
to add a recalculate on image load, like so:
Step-by-step reproduction instructions
Use a masonry block on a gallery of images which are lazy loaded. The container will get set to an unreasonable height and all the images will be placed at the bottom. Resizing the browser will trigger a recalc and fix the layout. OR, scrolling to the bottom will trigger the remaining images to load and then the container will recalc.
Screenshots, screen recording, code snippet or Help Scout ticket
No response
Environment info
No response
Is the issue you are reporting a regression
No
The text was updated successfully, but these errors were encountered: