<StackLayout x:Name="parentStack" HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand" IsVisible="False" Spacing="12" BackgroundColor="Red">
<!-- HeightRequest="{OnIdiom Tablet=280,Default=250}" -->
<!-- Filament -->
<cards:SfCardView HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand">
<Grid Margin="8" >
…
<!-- Content -->
<Grid
Grid.Row="1"
Grid.Column="1"
Grid.ColumnSpan="3"
>
<expander:SfAccordion
DynamicSizeMode="Content"
AutoScrollPosition="MakeVisible"
ExpandMode="SingleOrNone" >
<expander:SfAccordion.Items>
<!-- Nozzle Wear -->
…
</expander:SfAccordion.Items>
</expander:SfAccordion>
</Grid>
</Grid>
</cards:SfCardView>
…
</StackLayout> |
Hi
Andreas,
Sorry
for the inconvenience caused.
We
have checked the updated code snippets from our side. We would like to inform
you that we could not reproduce the issue at our side and the Accordion is visible
when changing the visibility of the parent. We have attached the tested sample
based on the code snippets and you can download it from the following link,
Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/AccordionXamarin-2108452792
Video: https://www.syncfusion.com/downloads/support/directtrac/general/ze/164830_Video929382790
Please
check our sample and let us know if you still facing the same issue? If not,
please modify our sample to reproduce the issue and revert us back which would
be helpful for us to check on it and provide you the solution at the earliest.
#Regarding
the card is not auto sizing anymore when the SfAccordion is expanded
We
have checked the reported issue with the provided sample, and we would like to
inform you that in our SfCardView we have added StackLayout with Horizontal
orientation as a root panel for our control structure. We can replicate the
same reported problem at our end if we use this panel with Horizontal
orientation instead of SfCardView.
So,
please set the height request as you specified to resolve the reported issue.
Lakshmi
Natarajan