lazysizes icon indicating copy to clipboard operation
lazysizes copied to clipboard

issue with cloned image when loading

Open petvas opened this issue 6 years ago • 1 comments

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.

petvas avatar Feb 19 '18 21:02 petvas

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

eballeste avatar Nov 03 '21 21:11 eballeste