Doesn't work well:
- inside an iframe that isn't visible in top window viewport.
- 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.
Doesn't work well:
div { width: 0; height: 0; overflow: hidden; }.In the cases above
LazyLoadshouldn't trigger loading, but it does.Using
IntersectionObserverwould be a solution.