lazysizes
lazysizes copied to clipboard
Interferences with Modernizr
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