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

When the page is refreshed at a scroll position, callbacks aren't running #5

Open
mattymess opened this issue Aug 30, 2016 · 2 comments

Comments

@mattymess
Copy link

If I have a lazily loaded iframe in the viewport window and I refresh the page, the browser refreshes at the scroll position and the iframe is immediately loaded, however the lazyload event trigger isn't being recognized where I defined the callback in my code. If I load the page and scroll, the callback loads fine.

I also noticed that sometimes the first lazy loaded element (when scrolled into the viewport) won't have it's lazyload callback triggered.

Have you experienced this at all?

@mattymess mattymess changed the title When page is refreshed at a scroll position, callbacks aren't running When the page is refreshed at a scroll position, callbacks aren't running Aug 30, 2016
@tyteen4a03
Copy link

+1.

@anovsiradj
Copy link
Contributor

anovsiradj commented Jul 5, 2017

i have this bug with jquery v1. and fixed when using jquery v2/3

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

3 participants