Lazy Loading Bug
-
Hello,
I noticed a bug in the image lazy loading feature, whereby, if there is a picture element with multiple sources in the HTML, and I change the value of the “Lazy-load from nth image” setting to any number that is larger than 1, like this for example:
the “srcset” attribute in the picture’s sources will be replaced with “data-srcset” in the rendered HTML, meaning that they will not render on the browser, like this:
code file:
https://imgur.com/WGhRWecrendered HTML in the chrome console:
https://imgur.com/c6sdINKI managed to solve this bug by telling the plugin to exclude the “srcset” attribute, but I am not sure if this is an ideal solution.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Lazy Loading Bug’ is closed to new replies.