Repository navigation
fix(ui-react): a hovered scroll thumb stops short of the content's edge - #16334
Merged
Merged
Conversation
Under the pointer the thumb widened to 10px and reached 12px in, across the border of but.dev's sidebar cards (11px in) and onto a file list's rows (12px in). It now widens to 7px and reaches 9px in, so it still lies over the content but beside those edges. The strip to grab stays 14px. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
This pull request changes Lite's CSS. If the change shows on screen, before/after screenshots make it reviewable without checking the branch out — drag them into a comment, or use the |
|
🎩 Your Storybook has been served
|
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🧢 Changes
The scroll thumb widens to 7px under the pointer instead of 10px.
☕️ Reasoning
Hovered, the thumb reached 12px in: across the border of but.dev's sidebar cards (11px in) and onto a file list's rows (12px in). At 7px it reaches 9px in and lies beside those edges. It still draws over the content, and the strip to grab stays 14px. This touches every
ScrollAreaandScrollBars.🤖 Generated with Claude Code
Note
Low Risk
CSS-only scrollbar thumb sizing with no logic, auth, or data changes; global visual tweak across ScrollArea usages.
Overview
ScrollArea hover/drag scrollbar thumbs are narrower so they no longer sit on top of inset content (e.g. sidebar cards and file list rows).
The active/hover
--thumb-sizedrops from 10px to 7px (thumb reaches ~9px from the edge instead of ~12px). The grab strip stays 14px; only the visual thumb width and the related comment change inScrollArea.module.css, affecting all ScrollArea and ScrollBars consumers.Reviewed by Cursor Bugbot for commit e0b1bf4. Bugbot is set up for automated code reviews on this repo. Configure here.