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

imagesLoaded is not executed #15

Open
Ainaras opened this issue Feb 24, 2015 · 2 comments
Open

imagesLoaded is not executed #15

Ainaras opened this issue Feb 24, 2015 · 2 comments

Comments

@Ainaras
Copy link

Ainaras commented Feb 24, 2015

Hi,

Now I'm trying to use this directive, but imagesLoaded does not work, if my tiles are included direct from HTML:

<div masonry='{ "transitionDuration" : "0.4s" , "itemSelector" : ".tile"}'>
  <div class="tile" masonry-tile>custom HTML</div>
  <div class="tile" masonry-tile>custom HTML</div>
</div>

It seems to me, that link of masonryTile directive is started earlier than link of masonry directive.
I think that I found explanation: http://stackoverflow.com/questions/18294726/calling-order-of-link-function-in-nested-and-repeated-angularjs-directives#answer-18491502

@nesevis
Copy link

nesevis commented Mar 3, 2015

I'm having the same problem.

@ghost
Copy link

ghost commented May 12, 2015

I confirmed this and made a pull request #19 that fixes the issue.

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

2 participants