Improvement: Prevent reflow
-
Hi,
Can you please look into the following article? It describes the problem in detail and also showcases the solution.
https://css-tricks.com/preventing-content-reflow-from-lazy-loaded-images/It will help prevent a reflow when lazy loading responsive images.
If the original image tag has a width and height attribute, these can be used to adjust the viewbox attribute in the svg, if the width and height attributes are missing, these can default to 1:1 (maybe modifiable by filters / backend setting).
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Improvement: Prevent reflow’ is closed to new replies.