From e389e1a21e30950b1bb023aee01fa3652ba66a28 Mon Sep 17 00:00:00 2001 From: Sam Catlow Date: Fri, 13 Nov 2026 13:30:19 +1100 Subject: [PATCH] fix(ui): Escape on the chat rename dialog closes the dialog only --- ui/src/chat/ChatSessionActions.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui/src/chat/ChatSessionActions.vue b/ui/src/chat/ChatSessionActions.vue index dc327e205..ea45985f1 100644 --- a/ui/src/chat/ChatSessionActions.vue +++ b/ui/src/chat/ChatSessionActions.vue @@ -82,6 +82,8 @@ async function copyMarkdown(): Promise { // Rename and branch ask for a value in a labelled dialog, not window.prompt. const promptOpen = ref(false); +// The dialog owns Escape while open, so closing it leaves the dock open. +useEscapeLayer(promptOpen); const promptCommand = ref(""); const promptMessage = ref(""); const promptValue = ref("");