Open RedFour opened 7 years ago
I agree, this is concerning issue. Needs urgent fix.
Any update on the issue?
I set the option [useImagesLoaded]="true"
, it solved this issue, but it also messed up the order of the list.
I used setTimeout
and _msnry.reloadItems()
mentioned in #10 to work around it.
I also encountered same problem.So here is solution:
<masonry [useImagesLoaded]="true">
2.Add this script to index.html otherwise it wont work!
When the page initially loads, all items are in the right column and order, but are stacked on top of each other in an offset. It takes me clicking on an item to trigger a transition where all the items are placed properly. The grid then continues to work as I add or remove items.
screenshot of items overlapping
Is there some option I need to set so that it puts images in the correct position in the initial load?