mirror of
https://github.com/anomalyco/opencode.git
synced 2026-07-17 12:56:41 +02:00
fix(ui): stabilize shell rolling output transitions
This commit is contained in:
@@ -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()
|
||||
}
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user