Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

MDCMenuFoundation add --selected to list items, so that states code is applied to menu #2031

Closed
lynnmercier opened this issue Jan 22, 2018 · 0 comments · Fixed by #2084
Closed
Assignees
Labels

Comments

@lynnmercier
Copy link
Contributor

Currently our mdc-menu does not show the selected state of a list-item.

This may need to be implemented in a variant of mdc-menu. Some menus, once an item is selected, the menu is never expected to be re-opened. But for mdc-select, the menu we attach to the select component can be re-opened. Right now we use [aria-selected="true"] instead of mdc-list-item--selected in our CSS selectors within mdc-select.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants