fix(ui): stabilize shell rolling output transitions

pull/16405/head
Kit Langton 2026-03-06 16:46:34 -05:00 committed by Adam
parent b47ab35ddf
commit 3704dbcee1
No known key found for this signature in database
GPG Key ID: 9CB48779AF150E75
2 changed files with 5 additions and 1 deletions

View File

@ -276,6 +276,7 @@ export function ShellRollingResults(props: { part: ToolPart; animate?: boolean }
>
<RollingResults
class="shell-rolling-output"
noFadeOnCollapse
items={rows()}
fixed={fixed()}
fixedHeight={22}

View File

@ -248,7 +248,10 @@ export function useRowWipe(opts: {
})
onCleanup(() => {
if (frame !== undefined) cancelAnimationFrame(frame)
if (frame !== undefined) {
cancelAnimationFrame(frame)
clear()
}
})
})
}