<StackLayout> + <Accordion> + Angular



I’m using two Accordion views from the nativescript-accordion plugin inside a StackLayout in a Nativescript-Angular app.

Both accordions are expanding down fine. The problem happens when they collapse up. The individual accordion sub-items disappear, but the area the sub-items occupied below the accordion header remains as a blank space.

The visual effect is that when the upper accordion expands, the lower accordion drops down the correct amount, but when the upper accordion collapses, the lower accordion remains in its new position, with a blank space between the accordions.

Any suggestions on the cause, or how to fix it? Thanks very much


Can you create a playground example where we can reproduce the issue?