jelgblad / angular2-masonry

https://github.com/desandro/masonry module for Angular2
101 stars 48 forks source link

div's over lapping #29

Closed ak0arjun closed 7 years ago

ak0arjun commented 7 years ago

Hi,

I am using angular2-masonry lib to achieve staggered grid for my web site the issue is when the data is loaded for first time the divs are getting overlapped as shown in this image screenshot from 2016-12-31 12-10-59

When i reload the data the alignment get corrected automatically like this screenshot from 2016-12-31 12-11-30

Could you please help me to solve this issue?

ak0arjun commented 7 years ago

Hi harisb2012,

I added the changes in the commit referenced above in angular2-masonry/src/brick,ts file but still the issue persist. Do i need to make some other changes as well?