Skip to content

Feat/scrollbar track click#4

Open
xeen7 wants to merge 2 commits intomillionco:mainfrom
xeen7:feat/scrollbar-track-click
Open

Feat/scrollbar track click#4
xeen7 wants to merge 2 commits intomillionco:mainfrom
xeen7:feat/scrollbar-track-click

Conversation

@xeen7
Copy link
Copy Markdown

@xeen7 xeen7 commented May 5, 2026

Note

Medium Risk
Changes pointer-event handling and scroll position calculations for the terminal scrollbar, which could introduce regressions in scrolling/drag behavior across browsers and input types. Scope is limited to UI interaction and a small layout constant tweak.

Overview
Adds full track interaction to the terminal scrollbar: clicking the track now jumps the viewport to the clicked position and dragging can start from either the thumb or track.

Pointer handlers and pointer-capture logic move from the thumb element to the track, with visibility now toggling pointer-events on the track based on hover/drag/recent scroll. Also tweaks scrollbar placement by reducing TERMINAL_SCROLLBAR_TRACK_INSET_PX from 4 to 0.5.

Reviewed by Cursor Bugbot for commit 83a20ad. Bugbot is set up for automated code reviews on this repo. Configure here.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 5, 2026

@quebesinmars is attempting to deploy a commit to the Million Team on Vercel.

A member of the Team first needs to authorize it.

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