lazysizes
lazysizes copied to clipboard
issue with cloned image when loading
I put together this example, to make it understandable: https://jsfiddle.net/xqhsuzyn/25/
The issue is, when I clone the image, when loading the lazyloading
class not change on the cloned image.
this should fix it, i was experiencing the same thing using a slider that clones the elements used for looping through them, the cloned elements would stay stuck in the lazyloading
state
https://github.com/aFarkas/lazysizes/tree/gh-pages/plugins/attrchange