Explorar o código

stop esc propagation from dialogs

Sebastian Herrlinger hai 1 mes
pai
achega
1f9e195cd8
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      packages/opencode/src/cli/cmd/tui/ui/dialog.tsx

+ 1 - 0
packages/opencode/src/cli/cmd/tui/ui/dialog.tsx

@@ -62,6 +62,7 @@ function init() {
       current.onClose?.()
       setStore("stack", store.stack.slice(0, -1))
       evt.preventDefault()
+      evt.stopPropagation()
       refocus()
     }
   })