Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue with cloned image when loading #468

Open
petvas opened this issue Feb 19, 2018 · 1 comment
Open

issue with cloned image when loading #468

petvas opened this issue Feb 19, 2018 · 1 comment

Comments

@petvas
Copy link

petvas commented Feb 19, 2018

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 petvas changed the title copy image when loading issue with cloned image when loading Feb 19, 2018
@eballeste
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants