Closed
Description
Reproduction
Use StackBlitz to reproduce your issue: https://stackblitz.com/edit/angular-y1wytp?file=app/menu-icons-example.html
Steps to reproduce:
- Create menu with disabled options only
- Open it
- Try pressing ESC key
Expected Behavior
The menu should close after pressing ESC key, same as it does when it contains at least one non-disabled option
Actual Behavior
The menu does not close after pressing ESC key
Environment
- Angular: 8.1.2
- CDK/Material: 8.0.2
- Browser(s): Chrome
- Operating System (e.g. Windows, macOS, Ubuntu): Windows