Reversing *ngFor array causes flickering

Anyone knows the right way to fix this flickering?

Not an answer to the problem, but a workaround could be to sort your array and then reverse the array?

1 Like

I always endeavor to avoid putting any function calls in template expressions that are evaluated under Angular change detection, but it is especially important to avoid calling anything state-modifying.

1 Like

I used this solution:
*ngFor=β€œlet item of (itemsService.itemsArray).concat().reverse()”