Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

position:fixed not loading #21

Open
Sajgoniarz opened this issue May 17, 2016 · 0 comments
Open

position:fixed not loading #21

Sajgoniarz opened this issue May 17, 2016 · 0 comments

Comments

@Sajgoniarz
Copy link

Sajgoniarz commented May 17, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant