summaryrefslogtreecommitdiffhomepage
path: root/packages/desktop/src/components
diff options
context:
space:
mode:
authorAdam <[email protected]>2025-12-16 15:25:00 -0600
committerAdam <[email protected]>2025-12-16 15:25:00 -0600
commit99680baf83cd494a97b4db115ba2f1a2a4f7ce06 (patch)
tree84e7ac2a78fe83af7a455a9f0af59d06fb1f9d55 /packages/desktop/src/components
parent9aa5460a0e1292dbfa6abcf944e8f5982618f3ca (diff)
downloadopencode-99680baf83cd494a97b4db115ba2f1a2a4f7ce06.tar.gz
opencode-99680baf83cd494a97b4db115ba2f1a2a4f7ce06.zip
fix(desktop): focus prompt input after dialog close
Diffstat (limited to 'packages/desktop/src/components')
-rw-r--r--packages/desktop/src/components/prompt-input.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/desktop/src/components/prompt-input.tsx b/packages/desktop/src/components/prompt-input.tsx
index a04211a98..b152ff0f5 100644
--- a/packages/desktop/src/components/prompt-input.tsx
+++ b/packages/desktop/src/components/prompt-input.tsx
@@ -850,6 +850,7 @@ export const PromptInput: Component<PromptInputProps> = (props) => {
</Show>
<div class="relative max-h-[240px] overflow-y-auto">
<div
+ data-component="prompt-input"
ref={(el) => {
editorRef = el
props.ref?.(el)