Skip to content

Commit 740511e

Browse files
committed
Added flyout for ellipsis
1 parent 91d1922 commit 740511e

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/Files.App.Controls/BreadcrumbBar/BreadcrumbBar.xaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,21 @@
103103
<Border.BackgroundTransition>
104104
<BrushTransition Duration="0:0:0.083" />
105105
</Border.BackgroundTransition>
106+
<FlyoutBase.AttachedFlyout>
107+
<MenuFlyout
108+
x:Name="PART_ItemEllipsisDropDownMenuFlyout"
109+
Placement="Bottom"
110+
ScrollViewer.VerticalScrollBarVisibility="Auto"
111+
ScrollViewer.VerticalScrollMode="Auto">
112+
<MenuFlyout.MenuFlyoutPresenterStyle>
113+
<Style TargetType="MenuFlyoutPresenter">
114+
<Setter Property="MaxHeight" Value="400" />
115+
<!-- Workaround for https://github.com/files-community/Files/issues/13078 -->
116+
<Setter Target="HighContrastAdjustment" Value="None" />
117+
</Style>
118+
</MenuFlyout.MenuFlyoutPresenterStyle>
119+
</MenuFlyout>
120+
</FlyoutBase.AttachedFlyout>
106121

107122
<ContentPresenter
108123
x:Name="PART_ItemContentPresenter"

0 commit comments

Comments
 (0)