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
Context menu keyboard shortcuts do not work until the menu has been visible once.
To Reproduce
Create a TextBox with a ContextMenu with just one item - give that item a shortcut 'Ctrl-M'. Add a handler to do something like show a message (I know that Avalonia doesn't have this simplest of features, but you get the idea - create your own messagebox like the rest of us).
At runtime:
Press 'Ctrl-M' - nothing happens
Bring up the context menu via right-click and then close the context menu
Press 'Ctrl-M' - the message appears
Obviously, you shouldn't have to show a context menu once to activate a keyboard shortcut - otherwise what's the point of a keyboard shortcut?
Expected behavior
No response
Avalonia version
11.0.11
OS
Windows
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
Context menu keyboard shortcuts do not work until the menu has been visible once.
To Reproduce
Create a TextBox with a ContextMenu with just one item - give that item a shortcut 'Ctrl-M'. Add a handler to do something like show a message (I know that Avalonia doesn't have this simplest of features, but you get the idea - create your own messagebox like the rest of us).
At runtime:
Obviously, you shouldn't have to show a context menu once to activate a keyboard shortcut - otherwise what's the point of a keyboard shortcut?
Expected behavior
No response
Avalonia version
11.0.11
OS
Windows
Additional context
No response
The text was updated successfully, but these errors were encountered: