Menu Action closes when pressing Enter. #14071
-
I have my custom Theia application and I added a new menu item to it using registerMenuAction. Theia closes my menu when I press Enter, Is there a way to unregister this Keybinding. |
Beta Was this translation helpful? Give feedback.
Answered by
msujew
Aug 26, 2024
Replies: 1 comment 3 replies
-
Hey @VilikNakhshikyan, I believe when pressing |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Oh, ok. Please give a bit more context next time. We have some special handling for key events on dialogs. See:
theia/packages/core/src/browser/dialogs.ts
Lines 247 to 252 in acaa3df
You will likely need to overwrite this method to change the behavior in your dialog.