-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
GThis is is related to a Google internal issueThis is is related to a Google internal issueP3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/selectfeatureThis issue represents a new feature or feature request rather than a bug or bug fixThis issue represents a new feature or feature request rather than a bug or bug fix
Description
Bug, feature request, or proposal:
disableOptionCentering as discussed on https://material.angular.io/components/select/api does not appear to have any effect and prevents implementing the "Exposed Dropdown Menu" mentioned at https://material.io/design/components/menus.html#exposed-dropdown-menu .
What is the expected behavior?
Setting disableOptionCentering to true would change the options to appear either below or above the mat-select field.
What is the current behavior?
The options appear over the field, whether or not disableOptionCentering is used.
What are the steps to reproduce?
https://stackblitz.com/edit/angular-khatke
I've tried using
<mat-select placeholder="Favorite food" [disableOptionCentering]="true">
What is the use-case or motivation for changing an existing behavior?
This prevents the ability to implement the Exposed Dropdown Menu.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Repro's at least while using Angular/Material npm 7.0.3 on Chrome 70.0.3538.77 on Mac.
Is there anything else we should know?
biolauri, marianocodes, r-winkler, ahnpnl, aidanjryan and 9 morer-winkler, ahnpnl and phalla-doll
Metadata
Metadata
Assignees
Labels
GThis is is related to a Google internal issueThis is is related to a Google internal issueP3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/selectfeatureThis issue represents a new feature or feature request rather than a bug or bug fixThis issue represents a new feature or feature request rather than a bug or bug fix