Skip to content

Virtual lists: a list in a row of another windows against the same scroll viewport - #956

Merged
Hona merged 1 commit into
devfrom
scale-nested-virtual
Nov 14, 2026
Merged

Hona merged 1 commit into
devfrom
scale-nested-virtual

Conversation

@Hona

@Hona Hona commented Nov 14, 2026

Copy link
Copy Markdown
Member

A virtual list in a row of another virtual list windows against the same scroll viewport, where the row places it. Until now this panicked (virtual stack must be inside a scroll viewport), so a long open section of a long list (a turn's thousand tool calls in a timeline) had to mount every row.

  • The nested list mounts the rows in view and its overscan; its sticky header still sticks inside its row.
  • While the viewport holds its end, the nested list windows where the end leaves it (VirtualList::tail), not at its own end.
  • A nested list wholly above the viewport's top anchors nothing, so the list around it alone keeps the reader in place.

Measured in OpenCode (Rune) on a 1,000-call group: the expand shapes 86 runs instead of 1,004 (perf build, 1.5x).

…roll viewport. An open section of a long list that is itself long (a turn's thousand tool calls in a timeline) mounts the rows in view, not all of them, and its sticky header still sticks inside its row. While the viewport holds its end, the nested list windows where the end leaves it.
Copilot AI balanced review requested due to automatic review settings November 14, 2026 07:05

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants