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

Doesn't work well inside an iframe or an element with overflow #130

Open
dizel3d opened this issue Oct 31, 2018 · 1 comment
Open

Doesn't work well inside an iframe or an element with overflow #130

dizel3d opened this issue Oct 31, 2018 · 1 comment
Labels

Comments

@dizel3d
Copy link

dizel3d commented Oct 31, 2018

Doesn't work well:

  1. inside an iframe that isn't visible in top window viewport.
  2. inside an element with overflow, e.g. inside div { width: 0; height: 0; overflow: hidden; }.

In the cases above LazyLoad shouldn't trigger loading, but it does.

Using IntersectionObserver would be a solution.

@dizel3d
Copy link
Author

dizel3d commented Oct 31, 2018

One more advice about IntersectionObserver #123

@loktar00 loktar00 added the bug label Aug 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants