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

Media file with data-imlazy is not detected by IntersectionObserver #6

Open
bzin opened this issue Jun 28, 2019 · 0 comments
Open

Media file with data-imlazy is not detected by IntersectionObserver #6

bzin opened this issue Jun 28, 2019 · 0 comments

Comments

@bzin
Copy link
Contributor

bzin commented Jun 28, 2019

There are some caveats situations where a media file that when DOM is loaded these have 0 width and 0 height. These elements are in some cases not detected by IntersectionObserver.

A solution maybe should be adding some kinda default styling to the element on rendering or implement a css line in the DOM to avoid this.

@bzin bzin changed the title Mdia file not Media file with data-imlazy is not detected by IntersectionObserver Jun 28, 2019
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

1 participant