Skip to content

Conversation

engijlr
Copy link
Contributor

@engijlr engijlr commented Aug 18, 2025

Summary
Make the split-view button visible not only on hover, but also when the variant receives keyboard focus.

Changes:
-Added .variant:focus > .split-view, .variant:focus-within > .split-view
-Added a more descriptive label to the trigger button: label="Open variant options for split view"

How to test
-Set focus on the variant option using the keyboard, will be able to show and interact with the "open in split view" button

Copy link
Contributor

@madsrasmussen madsrasmussen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @engijlr

The changes look good and the functionality works as I would expect. I have added two small requests for changes.

@engijlr engijlr requested a review from madsrasmussen August 21, 2025 08:17
@engijlr engijlr requested a review from madsrasmussen August 24, 2025 20:45
@madsrasmussen madsrasmussen enabled auto-merge (squash) August 25, 2025 08:48
@madsrasmussen madsrasmussen merged commit 9f88784 into main Aug 25, 2025
27 checks passed
@madsrasmussen madsrasmussen deleted the v16/bugfix/open-split-view-with-keyboard branch August 25, 2025 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants