diff --git a/src/Files.App/UserControls/NavigationToolbar.xaml.cs b/src/Files.App/UserControls/NavigationToolbar.xaml.cs index 56a463cab600..84ea070a5971 100644 --- a/src/Files.App/UserControls/NavigationToolbar.xaml.cs +++ b/src/Files.App/UserControls/NavigationToolbar.xaml.cs @@ -351,6 +351,10 @@ private async void BreadcrumbBar_ItemDropDownFlyoutOpening(object sender, Breadc return; } + // Don't open flyout for the last item in the breadcrumb path + if (e.Index == ViewModel.PathComponents.Count - 1) + return; + await ViewModel.SetPathBoxDropDownFlyoutAsync(e.Flyout, ViewModel.PathComponents[e.Index]); }