Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Menu select, hover, focus styles are misaligned with design specs #2828

Open
mannycarrera4 opened this issue Jul 17, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@mannycarrera4
Copy link
Contributor

🐛 Bug Report

Menu hover, select and focus styles are misaligned with design specs.

Current Implementation

image

Expected

image

@mannycarrera4 mannycarrera4 added the bug Something isn't working label Jul 17, 2024
alanbsmith pushed a commit that referenced this issue Aug 5, 2024
Fixes 2860.  `aria-selected` for combobox menu items. The cursor was used to determine `aria-selected` instead of the selected item. This changes the visuals of the selected vs focus state, but that issue is covered in #2828.

[category:Components]

Release Note:
This change fixes `aria-selected` in `Combobox.Menu.Item` components, but this does change the visuals of what is considered "selected". If you have any visual tests that have a screenshot of a selected state, the visual regression will have to be updated. The same is true for DOM-based snapshot tests. `aria-selected="true"` will now be added when an item is selected and not just when the virtual cursor is on the item. If your snapshot captures this DOM state, the snapshot will have to be updated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant