-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
P4A relatively minor issue that is not relevant to core functionsA relatively minor issue that is not relevant to core functionsarea: material/selectneeds: discussionFurther discussion with the team is needed before proceedingFurther discussion with the team is needed before proceeding
Description
Reproduction
Use StackBlitz to reproduce your issue: https://stackblitz.com/edit/components-issue-fjmby9 (watch red/green boolean in toolbar)
Steps to reproduce:
- Have
mat-selectwithmat-options - Click on one of the options
a. option gets de-selected
Expected Behavior
When clicking on options of select, the select gets de-focused.
Actual Behavior
When select is opened, its focus status is locked to true, until it gets closed. Upon closing the focus should be decided, whenever the focus is to be kept or not.
Clicking outside of options defocuses, esc keeps focus on select. This is the same as native select and how it works in mat-select now.
Environment
- Angular: 10.0.3
- CDK/Material: 10.0.1
- Browser(s): Chrome
- Operating System (e.g. Windows, macOS, Ubuntu): WIndows
Metadata
Metadata
Assignees
Labels
P4A relatively minor issue that is not relevant to core functionsA relatively minor issue that is not relevant to core functionsarea: material/selectneeds: discussionFurther discussion with the team is needed before proceedingFurther discussion with the team is needed before proceeding