google / google/material-design-lite
Menus should have icons and helper text, like keyboard shortcuts, as well as controls like checkmarks
- Dominant language
- HTML
- Stars
- 32.2k
- Forks
- 4.9k
- PR merge metrics
- No merged PRs in 30d
Description
It seems that there is currently no support for icons etc in menu items.
It would be good to get this added to the MDL menu support.
See : https://www.google.com/design/spec/components/menus.html#menus-menu-items
I have tries to add check boxes to a menu item in MDL without much success, the text and checkbox do not line up, the menu does not seem to scale in width with the size of the text and it does not seem to matter if I put the checkbox before or after the label span the result is the same.
Obviously I am doing something wrong in the way I am trying to add this within the current MDL menu scope.
See this codepen for an example.
http://codepen.io/smcardle/pen/qOEXBZ
Regards
Contributor guide
Assessment
This issue has not been assessed yet.