In Maui at my Syncfusion expander (SfExpander) I have custom view (SeVoView) and I set the visibility by a property. The visibility changes after rendering the expander and the view is shown inside the expander, but the height of the expander is not extended by the inserted view. This cuts off the lowest content.
How can I get the expander to recalculate and render its height?
<expander:SfExpander IsExpanded="True">
<expander:SfExpander.Header>
<custom:PointerStackLayout>
<Border Style="{StaticResource ExpanderHeader}">
<Label VerticalTextAlignment="Center">
<Label.FormattedText>
<FormattedString>
<Span Text="{x:Static localization:AppResources.MyHeader}" />
</FormattedString>
</Label.FormattedText>
</Label>
</Border>
</custom:PointerStackLayout>
</expander:SfExpander.Header>
<expander:SfExpander.Content>
<VerticalStackLayout >
<!-- skipped elements -->
<VerticalStackLayout>
<!-- skipped elements -->
<Frame >
<VerticalStackLayout BindableLayout.ItemsSource="{Binding TopGroups}">
<BindableLayout.ItemTemplate>
<DataTemplate x:DataType="models:TopGroup">
<Grid >
<!-- skipped elements -->
<VerticalStackLayout BindableLayout.ItemsSource="{Binding Tops}">
<BindableLayout.ItemTemplate>
<DataTemplate x:DataType="models:Top">
<sitzung:SeVoView Top="{Binding}"
IsVisible="{Binding Source={RelativeSource AncestorType={x:Type viewModels:SePageViewModel}, Mode=FindAncestorBindingContext}, Path= IsOnline}"/>
</DataTemplate>
</BindableLayout.ItemTemplate>
</VerticalStackLayout>
</Grid>
</DataTemplate>
</BindableLayout.ItemTemplate>
</VerticalStackLayout>
</Frame>
</VerticalStackLayout>
</VerticalStackLayout>
</expander:SfExpander.Content>
</expander:SfExpander>