Skip to content

feat(tui): scroll the transcript and overlay through ScrollBox - #1461

Merged
TheGreatAxios merged 5 commits into
mainfrom
cl-10642-tui-adopt-scrollbox-full-api-scrollbar-delete-scroll-hacks
Oct 16, 2026
Merged

TheGreatAxios merged 5 commits into
mainfrom
cl-10642-tui-adopt-scrollbox-full-api-scrollbar-delete-scroll-hacks

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Collaborator

Summary

  • Transcript and overlay scrolling use ScrollBox viewportCulling and scrollChildIntoView, and the overlay host shows a vertical scrollbar.
  • The overlay list reads the host scroll position instead of ScrollBox private fields.
  • One wheel detent up from a followed tail stays pinned. Following means scrollTop is at the bottom, not one row above it.

Verification

  • bun test src/tui/shell.test.ts src/tui/transcript-anchor.test.ts src/tui/transcript-long-log-scroll.test.ts src/tui/overlay-overflow.test.ts src/tui/overlay-list.test.ts passed on this branch (scroll suites, including the one-detent regression).
  • bun run typecheck still fails on a pre-existing missing semver import in vendor/intx-types/src/tool-packages.ts. This branch does not touch that file.

Fixes CL-10642

@linear-code

linear-code Bot commented Oct 16, 2026

Copy link
Copy Markdown

CL-10642

@corbits-triage

corbits-triage Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Triage: Pass

No changes needed from you. A maintainer will review this pull request.

Choice names, empty descriptions, and stale-row replacement still assert
painted behavior. The lookup was failing only because the select is no
longer a direct child of the overlay body.
OpenTUI re-engages bottom sticky at one row above the tail. Sticky
now stays armed only while scrollTop is on the tail, so a same-height
size pass leaves that detent pinned. Growth while the tail is followed
still sticks.

CL-10642
@TheGreatAxios
TheGreatAxios merged commit 0656ac3 into main Oct 16, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant