Material-design-lite: Implement Dropdown Menu v2 Component

Created on 29 Jun 2016  路  12Comments  路  Source: google/material-design-lite

Spec reference: https://www.google.com/design/spec/components/menus.html

This is our <select> equivalent. See this image

  • [x] Single-Select Mode
  • Multi-mode #4948
in-tracker v2-component

Most helpful comment

FYI ^ :)

Also note, we've built the v2 version of select such that it works as both a custom component _as well as with the native browser select_, and you can seamlessly switch between the two. This means you get the full-fidelity experience on desktop devices while being able to switch over to the native version on a mobile device for the best cross-browser UX possible.

All 12 comments

we should also support multiple mode.
Such as https://material.angularjs.org/latest/api/directive/mdSelect

Hi @traviskaufman,

How is this different then the generic overflow dropdown button? (https://material.google.com/components/buttons.html#buttons-dropdown-buttons)

Seems like the dropdown button specification is the more complete solution. Are there plans to implement it in Mdl?

I think this is just the dropdown part of the dropdown button. Menu with options/actions.

@HriBB is correct; from a UX perspective this is pretty much the menu part of a drop down button. There is additional work that needs to be done though for drop down menus, particularly around accessibility.

Cool. Thanks for the explanation guys.

Is v2 going to cover dropdown menus?

@gaastonsr That is a part of the drawer component which is #4476. Current plans is to offer one form of the MD specified menus.

^ ah, ignore this. I referenced the wrong issue in the commit 馃槶

FYI ^ :)

Also note, we've built the v2 version of select such that it works as both a custom component _as well as with the native browser select_, and you can seamlessly switch between the two. This means you get the full-fidelity experience on desktop devices while being able to switch over to the native version on a mobile device for the best cross-browser UX possible.

Closing for now. Single-select is done and multi-select will be moved to a new issue.

Sorry for dragging up an old topic...but I've read this thread, and the previous one https://github.com/google/material-design-lite/issues/854

and more recent ones which link to this thread as a "solution"...but i still have no idea where the MDL select component is? it's not on the components page: https://getmdl.io/components/index.html

Am i missing something? I'm using MDL v1.3 which is the only version i could find

@NBurke1 MDL is now MDC. Select is here.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rafaelcorreiapoli picture rafaelcorreiapoli  路  3Comments

an0nh4x0r picture an0nh4x0r  路  3Comments

samuelcarreira picture samuelcarreira  路  4Comments

itisparas picture itisparas  路  3Comments

s-a picture s-a  路  5Comments