I have been battling this issue for the past couple of days. Hopefully someone can see what I'm missing.
I have a view that displays a list nested inside a parent list. The parent list has header detail. For the content that is displayed initially, everything is correct. For the header information that is out of view, when scrolled into view, it is incorrect.
<ScrollView>
<FlexboxLayout flexDirection="column">
<StackLayout *ngFor="let property of properties">
<FlexboxLayout flexDirection="row">
<FlexboxLayout flexDirection="column" alignContent="center" style="background-color: red;">
<Label [text]="property.addressLine1"></Label>
<Label [text]="formatCityStatePostalCode(property)"></Label>
</FlexboxLayout>
</FlexboxLayout>
<StackLayout *ngFor="let action of property.actions">
<Label style="padding-bottom: 30" [text]="action.title"></Label>
</StackLayout>
</StackLayout>
</FlexboxLayout>
I have tried using StackLayouts, GridLayouts and FlexboxLayouts and all produce the exact same result.
Display when both headers are in the initial view
You will notice the headers are identical.
When the second header is off screen, it looks like this.