angular-lazy-img
angular-lazy-img copied to clipboard
position:fixed not loading
There is problem with loading images in elements with or their parents have position fixed. I have popup which stay always below list of items. At click on one of items Im calling this 'modal', but picture don't loads.
Problem is in this condition :
if (image && lazyImgHelpers.isElementInView(image.$elem[0], options.offset, winDimensions)) { loadImage(image); images.splice(i, 1); }
When i moved loadImage(image) out of condition directive is working fine.