Skip to content

Honor retained scrollbar thumb interaction states - #786

Merged
wieslawsoltes merged 1 commit into
mainfrom
feature/scrollbar-parts-785
Sep 20, 2026
Merged

wieslawsoltes merged 1 commit into
mainfrom
feature/scrollbar-parts-785

Conversation

@wieslawsoltes

Copy link
Copy Markdown
Collaborator

Unchanged Code OSS authors ::-webkit-scrollbar-thumb:hover, :active, and min-height, but WebScene retained only the base thumb style and a fixed 18 px minimum. This change admits native thumb interaction state into the existing pseudo cascade, so base/hover/active declarations preserve normal specificity, source order, layers, variables, and !important; the same authored minimum now drives scene geometry and hit testing.

Pointer transitions recascade only the previous/new scroller, using two bits in the existing node flag byte and one runtime pointer. The change adds no pseudo DOM nodes, document scan, timer, frame demand, platform widget, or VS Code source change. Portable/native selector contracts, retained normal/hover/active/minimum/drag checks, and a 4,096-node / 100-cycle performance gate are authored.

Validation: git diff --check only, following the active implementation-throughput direction. Builds, tests, pixels, benchmarks, package execution, and CI results are unclaimed.

Closes #785.

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.

Honor scrollbar thumb hover, active, and minimum extent in retained scenes

1 participant