Closed markhaasjes closed 8 years ago
Not related.
Can you try
bower install 'git://github.com/afklm/ng-lazy-image.git#d06a35c16463906c2810c9556cf4983c7c5b4c4a'
That's working. Issue solved.
For what reason did you used the (remaining + height) !== 0
?
See #16 but they forked the module for their own usage. For our usecase it didn't change much but in order to have most cases working i think a logo at the top should be able to use the module :)
Okay, makes sense, but not sure if this was the only possible fix. In my case I was using a fullscreen image at the begin of the page.
See for example the demo page on: http://afklm.github.io/ng-lazy-image/.
When you place the image on top of the viewport, the first image is not loaded. It starts loading after scrolling. Maybe this issue refers to #29.
Removing the following lines of code will move the first image to the top of the page.