tuupola / lazyload

Vanilla JavaScript plugin for lazyloading images
https://appelsiini.net/projects/lazyload/
MIT License
8.76k stars 2.23k forks source link

WindowsWechat Not fully supported IntersectionObserver,isIntersecting attribute is undefined #446

Open gexin1 opened 4 years ago

gexin1 commented 4 years ago

ua:User-Agent,Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537.36 QBCore/4.0.1295.400 QQBrowser/9.0.2524.400 Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2875.116 Safari/537.36 NetType/WIFI MicroMessenger/7.0.5 WindowsWechat (Lazy Load)Version: 2.0.0-rc.2

gexin1 commented 4 years ago

lazyLoad 109(row) Should

if (entry.isIntersecting || entry.isIntersecting === undefined) {
gexin1 commented 4 years ago

Thank you for this open source project

Mr-Hawthorn commented 3 years ago

I have the same problem,thank you for your share!