It doesnât crash thanks to the latest changes, but native lazy load still doesnât work! When the flag is active all the images are loaded.
I see. I have been able to reproduce the bug and Iâm working to solve it.
It seems like if you set loading="auto"
even with the lazy image loading flag enabled in chrome://flags
the images are not loaded lazily. If I set loading="lazy"
for every Image
, it worksâŚ
We can use loading="lazy"
by default in the Image
component or pass the loading
property every time Image
is rendered in the theme. We can also make it configurable from the settings and set it to lazy
by defaultâŚ
What would be the best option, @luisherranz?
Ohhh, I see. Then we thought it was not working because in "auto"
the browser is the one making the decision. So, if it works with "lazy"
, then it is working just fine! Maybe if we try with Slow 3G it does the lazy loading.
Iâd leave the default as "lazy"
for nowâŚ