This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
md-menu does not close with Esc key when first menu-item is disabled #9165
Closed
Description
Actual Behavior:
What is the issue? *
When the first item in a md-menu is disabled, it refuses to close on pressing EscWhat is the expected behavior?
md-Menu should close on pressing Esc regardless of whether the first item is disabled or not.
CodePen (or steps to reproduce the issue): * CodePen link provided.
CodePen Demo which shows your issue:
http://codepen.io/siddhantpp/pen/AXdGxmDetails:
This CodePen demonstrates the issue. Click on Enable / Disable to test accordingly.
Angular Versions: *
Angular Version:
1.5.5Angular Material Version:
1.0.9
Additional Information:
Browser Type: *
Google ChromeBrowser Version: *
51.0.2704.106 m (64-bit)OS: *
Windows 7Stack Traces:
None
Shortcut to create a new CodePen Demo.
Note: *
indicates required information. Without this information, your issue may be auto-closed.
Do not modify the titles or questions. Simply add your responses to the ends of the questions.
Add more lines if needed.