You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
mat-select should close when escape is pressed, also stop propagation #7981
when mat-select is open and escape is pressed it should close the select
What is the current behavior?
select doesn't close and the element upstream gets the escape. In my case the mat-drawer catches this Escape which results in weird behavior: drawer closes, and the opened select is floating outside of it (because it's part of the cdk-portal).
Activity
alex-okrushko commentedon Oct 23, 2017
fix(select): closing parent overlay when pressing escape
crisbeto commentedon Nov 28, 2017
Closing as something that will be resolved by #8531.
alex-okrushko commentedon Jan 22, 2018
This wasn't fixed
here is with the latest material and angular 5.2.1 http://plnkr.co/edit/aJTfUQ5O8L6SN0t4fLrm?p=preview
genyklemberg commentedon Feb 6, 2018
this is because of
class="cdk-overlay-backdrop"You should change properz-indexalex-okrushko commentedon Oct 30, 2018
Not reproducible any more
stagefright5 commentedon Jul 11, 2019
@alex-okrushko , It is still easily reproducible. Please look at this example:
https://stackblitz.com/edit/angular-awab22?file=app%2Fsidenav-autosize-example.html
angular-automatic-lock-bot commentedon Sep 11, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.