fix: Alt+E resolve shortcut also opens Chrome's built-in menu on Windows (#15418)

This commit is contained in:
Vijay Misal
2026-08-12 21:54:34 +05:30
committed by GitHub
parent 42ca0901c2
commit adef9f2cd6

View File

@@ -144,7 +144,12 @@ const keyboardEvents = {
allowOnFocusedInput: true,
},
'Alt+KeyE': {
action: async () => {
action: async event => {
// Chrome on Windows treats Alt+E as a legacy shortcut for its own
// menu (Alt+E / Alt+F both open "Customize and control Google
// Chrome"). Without preventDefault, our resolve action still runs,
// but Chrome's menu also opens on top of it.
event.preventDefault();
onCmdResolveConversation();
},
},