dinbror / blazy

Hey, be lazy! bLazy.JS is a lightweight pure JavaScript script for lazy loading and multi-serving images. It's working in all modern browsers including IE7+.
http://dinbror.dk/blazy
MIT License
2.63k stars 355 forks source link

offset not working towards the end of the page #145

Open allonsacks opened 7 years ago

allonsacks commented 7 years ago

If I change the offset like offset: 800 I see in my networks tab the images loading 800 pixels before I reach them but any images towards the end of the page I am guessing less than 800 pixels before the end of the page only load just before I reach them. This is on scrolling. If I resize the window when I expect the image to have loaded it does actually load. Also on page load. So the issue is only when scrolling it ignores the offset.

Quanatee commented 7 years ago

I have the exact same issue as well.