feat: SW-2120 add gutter and hover/focus reveal to Resizable handle#156
Open
boramyi-ts wants to merge 1 commit into
Open
feat: SW-2120 add gutter and hover/focus reveal to Resizable handle#156boramyi-ts wants to merge 1 commit into
boramyi-ts wants to merge 1 commit into
Conversation
Improve the Resizable handle per SW-2120: - Wide (12px) transparent grab area via a non-layout ::after overlay, so the handle can be grabbed anywhere in the gap, not just on the hairline. - The 1px divider line and the optional grip are hidden at rest and reveal on hover and while dragging (border) and on keyboard focus (ring). - The handle's layout footprint stays a 1px divider sitting exactly on the panel seam, so the divider, grip, and seam all stay aligned in both orientations regardless of the panels' backgrounds. Adds a "Gutter & hover reveal" story and updates assertions to cover the 1px on-seam footprint plus the 12px non-layout grab overlay. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Coverage Report
File Coverage
|
||||||||||||||||||||||||||||||||||||||
owilliams-tetrascience
approved these changes
Jun 24, 2026
owilliams-tetrascience
left a comment
Collaborator
There was a problem hiding this comment.
looks good! dont forget to add the "zephyr_sync" label since this adds a new test.
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.
SW-2120 — Improve Resizable component: gutter + hover/focus interactions
SW-2120
What & why
The
Resizablehandle was a thin always-on hairline with a tiny grab area. This makes it cleaner at rest and far easier to grab:::afteroverlay — the handle can be grabbed anywhere in the gap, not just on the 1px line.border) and on keyboard focus (ring), giving a clear focus affordance.No API change:
ResizableHandle/withHandleare unchanged; a defaultaria-label="Resize"is added (overridable).Before —
mainDivider and grip always visible; small grab area.
After — SW-2120
Clean at rest; divider + grip reveal on hover/focus; wider grab area; aligned on the seam.
Testing
yarn lint✓ ·yarn typecheck✓ ·yarn test:storybook resizable✓ (3/3)🤖 Generated with Claude Code