diff options
| author | GitHub Action <[email protected]> | 2026-01-05 02:18:20 +0000 |
|---|---|---|
| committer | GitHub Action <[email protected]> | 2026-01-05 02:18:20 +0000 |
| commit | 59ed8ccbd849c2bbb984d250a51be7b6ee227c60 (patch) | |
| tree | 4ac5f81099f396b43f342f52a0cac2fed22a223f | |
| parent | 91ed1013785f19c3f9155b0c6438c61d536e927d (diff) | |
| download | opencode-59ed8ccbd849c2bbb984d250a51be7b6ee227c60.tar.gz opencode-59ed8ccbd849c2bbb984d250a51be7b6ee227c60.zip | |
chore: generate
| -rw-r--r-- | packages/app/src/components/prompt-input.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/app/src/components/prompt-input.tsx b/packages/app/src/components/prompt-input.tsx index c7b888c4e..6dfa5e024 100644 --- a/packages/app/src/components/prompt-input.tsx +++ b/packages/app/src/components/prompt-input.tsx @@ -503,7 +503,7 @@ export const PromptInput: Component<PromptInputProps> = (props) => { ), ) -// Auto-scroll active command into view when navigating with keyboard + // Auto-scroll active command into view when navigating with keyboard createEffect(() => { const activeId = slashActive() if (!activeId || !slashPopoverRef) return @@ -513,7 +513,7 @@ export const PromptInput: Component<PromptInputProps> = (props) => { element?.scrollIntoView({ block: "nearest", behavior: "smooth" }) }) }) - + createEffect( on( () => prompt.current(), |
