angular-lazy-img icon indicating copy to clipboard operation
angular-lazy-img copied to clipboard

position:fixed not loading

Open Sajgoniarz opened this issue 8 years ago • 0 comments

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.

Sajgoniarz avatar May 17 '16 14:05 Sajgoniarz