diff --git a/src/Avalonia.Controls/Platform/DefaultMenuInteractionHandler.cs b/src/Avalonia.Controls/Platform/DefaultMenuInteractionHandler.cs index 5cbd3698b6..e3e9e84d7e 100644 --- a/src/Avalonia.Controls/Platform/DefaultMenuInteractionHandler.cs +++ b/src/Avalonia.Controls/Platform/DefaultMenuInteractionHandler.cs @@ -355,7 +355,13 @@ namespace Avalonia.Controls.Platform } else if (!item.IsPointerOverSubMenu) { - item.IsSubMenuOpen = false; + DelayRun(() => + { + if (!item.IsPointerOverSubMenu) + { + item.IsSubMenuOpen = false; + } + }, MenuShowDelay); } } }