fix(ui): stabilize shell rolling output transitions
parent
b47ab35ddf
commit
3704dbcee1
|
|
@ -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…
Reference in New Issue