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

Fix for issue 15 imagesLoaded not executed #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix for issue 15 imagesLoaded not executed #19

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented May 12, 2015

This is a fix for imagesLoaded not executed. It was found that the masonryTile directive runs before the masonry directive since they use link functions which are postLink functions and postLinks run bottom up. The best way to ensure that the parent masonry directive runs before the child masonryTile is to wrap the link function as a prelink inside a compile. This solution is working and I'm using it in production already.

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

Successfully merging this pull request may close these issues.

0 participants