You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add into Menu Item one more Menu Item with command and hotkey
<Menu>
<MenuItem Header="Open me and after that the hotkey will work">
<MenuItem Header="Test Command"
Command="{Binding TestCommand}"
HotKey="Ctrl+O" InputGesture="Ctrl+O"/>
</MenuItem>
</Menu>
Expected behavior
The hotkey should work without opening the MenuItem
Environment
OS: Windows 11
Avalonia-Version: 11.0.7
The text was updated successfully, but these errors were encountered:
Maybe chaning the ItemsPanel to StackPanel helps here to cancel virtualization. (No does not help) Anyways, I'm closing this as duplicate. We will track it further in the original issue.
Describe the bug
The hotkey on the MenuItem is not working until you open it at least once.
To Reproduce
Example here
Expected behavior
The hotkey should work without opening the MenuItem
Environment
The text was updated successfully, but these errors were encountered: