1000ch / lazyload-image

HTMLImageElement extension for lazy loading.

Home Page:https://1000ch.github.io/lazyload-image/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Doesn't work on firefox, throws error "ReferenceError: IntersectionObserver is not defined". Doesn't work with dom-repeat on chrome.

rraagghhu opened this issue · comments

Doesn't work on firefox, throws error "ReferenceError: IntersectionObserver is not defined". Doesn't work with dom-repeat on chrome.

Yes, Firefox doesn't implement IntersectionObserver. There's a polyfill but… it's not very useful. Using the web components polyfill, the lazyload-image element gets loaded too late to prevent initial loading of the images.