Pancaking on Virtual Scroll with Infinite Scroll

Odd issue here that happens randomly. When scrolling sometimes we get this:

Anyone have thoughts on why this would happen? i can share some code if needed.

use cdk virtual scroll from angular/material, ion-virtual scroll is little bit buggy with infinite scroll

Thanks is there a good code grab example you can share? just want to compare the differences for implementation.

Here is the example: