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

Interferences with Modernizr #976

Open
medoingthings opened this issue Dec 3, 2022 · 0 comments
Open

Interferences with Modernizr #976

medoingthings opened this issue Dec 3, 2022 · 0 comments

Comments

@medoingthings
Copy link

I use Modernizr for feature detection and newer versions of it test for native lazyloading.

So Modernizr finds my .lazyloading class in the code and adds it to the feature detection list, resulting in a lazyloading class on the html element, which hides the whole page.

I know I can find a way around this, but it might be worth considering to prefix lazysizes class names to prevent side effects like these.

Thanks for the great work on lazysizes – using it for a long time and it never let me down.

Cheers,
Mark

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