You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use the latest version of ngx-masonry with Angular 10. When one of masonry item's height changed to smaller, the item below does not automatically move up to take the empty space. Is there something not working with Angular 10 or we need to catch item size change event and call masonry.layout() to update whole layout or there is some other way?
BTW, we tried to call masonry.layout() and it does work but there is no animation for the item below to move up. So the questions are
Is forcing method call layout() the only way to make the item below to move up?
If so, any idea to make the animation - the card below to move up to take the extra space left due to item above size changed to smaller?
The text was updated successfully, but these errors were encountered:
Hi, yes, you need to call layout() in order to move items up.
About the animation, the masonry-layout library does support the animation of moving items but it's disabled because of an issue in production, so you have to use Angular animation. However, I'm not sure how to do it or maybe it's not possible.
We use the latest version of ngx-masonry with Angular 10. When one of masonry item's height changed to smaller, the item below does not automatically move up to take the empty space. Is there something not working with Angular 10 or we need to catch item size change event and call masonry.layout() to update whole layout or there is some other way?
BTW, we tried to call masonry.layout() and it does work but there is no animation for the item below to move up. So the questions are
The text was updated successfully, but these errors were encountered: