You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 25, 2026. It is now read-only.
The Expander doesn't animate nicely in certain layout scenarios.
Steps to Reproduce
<Pagexmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"xmlns:controls="using:Microsoft.Toolkit.Uwp.UI.Controls"xmlns:d="http://schemas.microsoft.com/expression/blend/2008"xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"mc:Ignorable="d">
<Page.Resources>
<SolidColorBrushColor="{ThemeResource SystemChromeLowColor}"x:Key="SystemControlForegroundChromeLowBrush"/>
</Page.Resources>
<Grid>
<controls:Expanderx:Name="Expander"VerticalAlignment="Bottom"Header="This is the header - expander 2"HorizontalContentAlignment="Stretch"IsExpanded="True">
<GridHeight="256"Background="{ThemeResource SystemControlBackgroundBaseHighBrush}">
<TextBlockHorizontalAlignment="Center"TextWrapping="Wrap"Text="This is the expanded content without a content overlay"VerticalAlignment="Center"Foreground="{ThemeResource SystemControlForegroundChromeLowBrush}" />
</Grid>
</controls:Expander>
</Grid>
</Page>
Use XAML above in sample app (Expander)
Click on the Expander to collapse
Note how that it 'jumps' to the bottom after the animation has played.
Expected behavior
Expander's height should animate along with content collapsing so it smoothly collapses?
Screenshots
If applicable, add screenshots to help explain your problem.
Describe the bug
The Expander doesn't animate nicely in certain layout scenarios.
Steps to Reproduce
Expected behavior
Expander's height should animate along with content collapsing so it smoothly collapses?
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
Store App
Windows 10 Build Number: