-
Notifications
You must be signed in to change notification settings - Fork 53
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
Change array order breaks masonry template 🤔 #93
Comments
Hi, it seems like the
|
I will try 😎😎😎😎 |
I have tried to do it that way. When I remove the " For example, the ordering by price from highest to lowest is not correct, also when ordering by other criteria such as the property "rating", "name" and others, the data is displayed incorrectly. I think that the function " And I tried to use the " |
Hi, didn't realize the order is wrong. Could you try this? Thanks!
|
I've tried this solution and looks like works for now 🤗🤗🤗 |
My app consist in an array of item that can be ordered by some filter criteria using a MAT MENU to select the preferred criteria
But when I change the order or my items array masonry is rendered completely wrong, for example:
I have tried as documentation says:
Set
[ordered]="true"
in template, also use masonry functions to render again when my array is re-orderedThis is how it looks ordered at init
Some times the order is applied fine but mostly is rendered wrong
This is my reproduction repo in github https://github.com/AlonsoK28/amazmation-app-2/tree/feature/update-layout because I cant upload it to stackblitz 😢
I hope you can help me 😜👏
The text was updated successfully, but these errors were encountered: