When you click on a select that is not native, the options appear anchored randomly.
clicking on a select should expand the list op options attached to the bottom of the input as in material design guidelines e.g.
https://material-components.github.io/material-components-web-catalog/#/component/select
Click on any material-ui select
https://material-ui.com/components/selects/
Steps:
I am trying to comply with material design guidelines
| Tech | Version |
| ----------- | ------- |
| Material-UI | v4.?.? |
| React | |
| Browser | |
| TypeScript | |
| etc. | |
I am trying to comply with material design guidelines
Could you link to a page on material.io showing how Selects open? The link you provided uses a reference implementation that is (as are we sometimes) not always following the latest guidelines.
https://material.io/develop/web/components/input-controls/select-menus/ links to https://material-components.github.io/material-components-web-catalog/#/component/select
also https://rmwc.io/select-menus which uses the material reference
I would say the reference implementation should be used as a reference
I would say the reference implementation should be used as a reference
I think the spec should be used as a reference. Material components web sometimes don't follow the guidelines either.
I would say the reference implementation should be used as a reference
I think the spec should be used as a reference. Material components web sometimes don't follow the guidelines either.
can you provide a link to a spec that includes specific components? the only one i can find is above
can you provide a link to a spec that includes specific components?
https://material-ui.com/getting-started/supported-components/#supported-components
With regards to Select I don't have any which is why I asked you.
can you provide a link to a spec that includes specific components?
https://material-ui.com/getting-started/supported-components/#supported-components
With regards to Select I don't have any which is why I asked you.
see above
having the options randomly floating away from the input and sometimes obscuring it is problematic
@eps1lon I think we have good example here https://material.io/components/menus/menus.html#exposed-dropdown-menu
random places
@peterchq The position of the select is not random. It's positioned so the selected value displays on top of the closed select state. This behavior can be found on native platforms, like macOS or Windows Edge.
macOS Chrome, Safari


Windows Edge


Windows FireFox, Chrome


I think the spec should be used as a reference. Material components web sometimes don't follow the guidelines either.
@una encourages to refer to material components web when in doubt. But I tend to agree with @eps1lon. It should be significantly simpler to author visual mockups than HTML + JS + CSS, from this perspective, I think that following the visual of material.io should be preferred.
I am trying to comply with material design guidelines
We have started a similar thread in https://github.com/mui-org/material-ui/issues/18136#issuecomment-549059199 and https://github.com/mui-org/material-ui/issues/17636#issuecomment-536716503 and #15055.
I have run a benchmark on some design system to compare what's more popular:
Most helpful comment
@eps1lon I think we have good example here https://material.io/components/menus/menus.html#exposed-dropdown-menu