mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-23 12:54:42 +00:00
fix(ui): stabilize shell rolling output transitions
This commit is contained in:
parent
b47ab35ddf
commit
3704dbcee1
2 changed files with 5 additions and 1 deletions
|
|
@ -276,6 +276,7 @@ export function ShellRollingResults(props: { part: ToolPart; animate?: boolean }
|
|||
>
|
||||
<RollingResults
|
||||
class="shell-rolling-output"
|
||||
noFadeOnCollapse
|
||||
items={rows()}
|
||||
fixed={fixed()}
|
||||
fixedHeight={22}
|
||||
|
|
|
|||
|
|
@ -248,7 +248,10 @@ export function useRowWipe(opts: {
|
|||
})
|
||||
|
||||
onCleanup(() => {
|
||||
if (frame !== undefined) cancelAnimationFrame(frame)
|
||||
if (frame !== undefined) {
|
||||
cancelAnimationFrame(frame)
|
||||
clear()
|
||||
}
|
||||
})
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue