mirror of
https://github.com/anomalyco/opencode.git
synced 2026-08-22 01:53:27 +00:00
fix(app): release virtualized timeline elements (#42825)
This commit is contained in:
parent
4fee4d7d86
commit
d9dfceddf8
1 changed files with 2 additions and 0 deletions
|
|
@ -1203,6 +1203,8 @@ function MessageTimelineView(
|
|||
|
||||
onCleanup(() => {
|
||||
if (contentMeasureFrame !== undefined) cancelAnimationFrame(contentMeasureFrame)
|
||||
// Solid runs cleanup before it disconnects the row, so defer TanStack's null-ref cleanup.
|
||||
queueMicrotask(() => virtualizer.measureElement(null))
|
||||
})
|
||||
|
||||
return (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue