diff --git a/src/Wpf.Ui/Controls/NavigationView/NavigationView.Properties.cs b/src/Wpf.Ui/Controls/NavigationView/NavigationView.Properties.cs index 3915ac51..746899a8 100644 --- a/src/Wpf.Ui/Controls/NavigationView/NavigationView.Properties.cs +++ b/src/Wpf.Ui/Controls/NavigationView/NavigationView.Properties.cs @@ -468,8 +468,12 @@ private void OnMenuItemsSource_CollectionChanged(object? sender, IList collectio case NotifyCollectionChangedAction.Remove: foreach (var item in e.OldItems) + { if (!e.NewItems.Contains(item)) + { collection.Remove(item); + } + } break; case NotifyCollectionChangedAction.Move: