diff options
| author | Adam <[email protected]> | 2025-12-16 15:32:14 -0600 |
|---|---|---|
| committer | Adam <[email protected]> | 2025-12-16 15:32:14 -0600 |
| commit | 1755a3fe0778ca9021fe7b59218c1830826502bc (patch) | |
| tree | a11df091e080797c8e1a54690369dbbeeb511ee7 | |
| parent | 99680baf83cd494a97b4db115ba2f1a2a4f7ce06 (diff) | |
| download | opencode-1755a3fe0778ca9021fe7b59218c1830826502bc.tar.gz opencode-1755a3fe0778ca9021fe7b59218c1830826502bc.zip | |
fix(desktop): auto-scroll
| -rw-r--r-- | packages/ui/src/components/session-turn.tsx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/packages/ui/src/components/session-turn.tsx b/packages/ui/src/components/session-turn.tsx index cab6a7af3..fa435b402 100644 --- a/packages/ui/src/components/session-turn.tsx +++ b/packages/ui/src/components/session-turn.tsx @@ -106,12 +106,7 @@ export function SessionTurn( }) } - createResizeObserver( - () => state.contentRef, - () => { - scrollToBottom() - }, - ) + createResizeObserver(() => state.contentRef, scrollToBottom) createEffect(() => { if (!working()) { |
