mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-06 00:12:11 +00:00
fix(app): auto-scroll ux
This commit is contained in:
parent
d2fcdef571
commit
a0636fcd50
4 changed files with 109 additions and 87 deletions
|
|
@ -817,6 +817,7 @@ ToolRegistry.register({
|
|||
|
||||
const autoScroll = createAutoScroll({
|
||||
working: () => true,
|
||||
overflowAnchor: "auto",
|
||||
})
|
||||
|
||||
const childSessionId = () => props.metadata.sessionId as string | undefined
|
||||
|
|
|
|||
|
|
@ -379,6 +379,7 @@ export function SessionTurn(
|
|||
const autoScroll = createAutoScroll({
|
||||
working,
|
||||
onUserInteracted: props.onUserInteracted,
|
||||
overflowAnchor: "auto",
|
||||
})
|
||||
|
||||
createResizeObserver(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue