You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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 alazyloading
class on thehtml
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
The text was updated successfully, but these errors were encountered: