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; }