From 6cc8107ebbf033a4dc2e9151ae47d0102c44bb5e Mon Sep 17 00:00:00 2001 From: Sam Catlow Date: Fri, 13 Nov 2026 12:58:12 +1100 Subject: [PATCH] fix(ui): Ctrl+/ toggles chat only; the palette opens on a bare slash --- ui/src/components/command-palette/CommandPalette.vue | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/ui/src/components/command-palette/CommandPalette.vue b/ui/src/components/command-palette/CommandPalette.vue index ce8fa2c83..a5a668840 100644 --- a/ui/src/components/command-palette/CommandPalette.vue +++ b/ui/src/components/command-palette/CommandPalette.vue @@ -93,7 +93,15 @@ function onGlobalKeydown(event: KeyboardEvent): void { if ((event.metaKey || event.ctrlKey) && event.key.toLowerCase() === "k") { event.preventDefault(); open.value = !open.value; - } else if (event.key === "/" && !open.value && !isEditableTarget(event)) { + } else if ( + // A bare "/" only: Ctrl+/ belongs to the chat dock. + event.key === "/" && + !event.ctrlKey && + !event.metaKey && + !event.altKey && + !open.value && + !isEditableTarget(event) + ) { event.preventDefault(); open.value = true; }