fix(focus-states): update cut-off focus states#439
Conversation
|
/bonk |
There was a problem hiding this comment.
Thanks for this comprehensive focus state improvement PR! The changes address real clipping issues and create better visual consistency across components.
Summary of Changes
The PR makes focused improvements to focus ring behavior:
- Command Palette - Moves focus ring to container with
focus-within, removing duplicate input-level styles - Select - Uses
ring-insetto prevent clipping in rounded/overflow contexts - Clipboard Text - Fixes clipping with inset focus rings and proper border-radius inheritance
- InputGroup - Aligns focus ring color to
ring-kumo-focusconsistently across container/hybrid modes - kumo-binding.css - Updates outline weight to 1px with semantic
--color-kumo-focustoken - DatePicker - Uses
--color-kumo-brandfor focus ring token
Observations
- ✅ Good use of
isolatestacking context in clipboard-text to prevent z-index issues - ✅ Proper use of
rounded-[inherit]for border-radius inheritance - ✅ Consistent adoption of
focus-withinpattern for container-level focus indication - ✅ Tests updated to match new focus ring class changes
- ✅ Changeset accurately describes all modifications
Questions
None - this is a well-scoped visual improvement PR with clear before/after screenshots demonstrating the clipping fixes.
|
I've completed the review of PR #439. This is a well-scoped visual improvement PR that fixes focus ring clipping issues across multiple components. Review SummaryChanges reviewed:
Approach: ✅ LGTM - The changes follow Kumo conventions, use semantic tokens correctly, and include proper test updates. The before/after screenshots clearly demonstrate the clipping issues being resolved. Review submitted: #439 (review) |
commit: |
Docs PreviewCommit: |





































































Improve focus ring consistency and clipping behavior across inputs and related controls.
Before
After