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("");