*ngIf in ion-grid does not adapt height



I have an ion-grid and for the rows I use *ngIf since I don’t show all rows all the time. But if a row j is hidden then I get some space left between row j-1 and row j+1.
Anyone has an idea why this is the case and how i could get rid off this extras spacing?