Skip to content

Commit

Permalink
Update CommandBarFlyout closing animation to include button moving (#…
Browse files Browse the repository at this point in the history
…3594)

* Update more-button animation behavior

* Fix background issue

* CR feedback
  • Loading branch information
marcelwgn authored Nov 22, 2020
1 parent 9acab71 commit 682dc5e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dev/CommandBarFlyout/CommandBarFlyout.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -323,9 +323,8 @@
<Grid x:Name="OuterContentRoot"
VerticalAlignment="Top"
Margin="{TemplateBinding Padding}"
Width="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=FlyoutTemplateSettings.CurrentWidth}"
MinWidth="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=FlyoutTemplateSettings.CurrentWidth}"
Height="{TemplateBinding Height}"
Background="{TemplateBinding Background}"
contract4Present:XYFocusKeyboardNavigation="Enabled">
<Grid.Clip>
<RectangleGeometry x:Name="OuterContentRootClip" Rect="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=FlyoutTemplateSettings.ContentClipRect}">
Expand All @@ -334,7 +333,8 @@
</RectangleGeometry.Transform>
</RectangleGeometry>
</Grid.Clip>
<Grid x:Name="ContentRoot">
<Grid x:Name="ContentRoot"
Background="{TemplateBinding Background}">
<Grid.Clip>
<RectangleGeometry x:Name="ContentRootClip" Rect="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=FlyoutTemplateSettings.ContentClipRect}">
<RectangleGeometry.Transform>
Expand Down

0 comments on commit 682dc5e

Please sign in to comment.