luis-almeida / unveil

A very lightweight jQuery plugin to lazy load images
4.16k stars 676 forks source link

Loading issue on mobile devices #117

Open themao opened 8 years ago

themao commented 8 years ago

Did someone experience this issue, when on mobile devices (or in mobile emulation in Chrome) loader is not replaced with images until the page is scrolled?

I tried to trigger a lookup event additionally - $(window).trigger("lookup") - but it didn't help. What could be the problem and what are the possibilities to debug? I tried console-logging the screen height, having thoughts that it could be 0 or something like this, but everything was just ok there.

And, it's not happening every time, which is even more of a mystery for me.

tapioca2 commented 7 years ago

I am having similar issue. Image on mobile device won't display until it is in the middle of the mobile screen.

djallet commented 6 years ago

I think this is the same issue as this one : https://github.com/luis-almeida/unveil/issues/90