Skip to content
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
@siddhantpp

Description

@siddhantpp

Actual Behavior:

  • What is the issue? * When the first item in a md-menu is disabled, it refuses to close on pressing Esc
  • What 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.

Angular Versions: *

  • Angular Version: 1.5.5
  • Angular Material Version: 1.0.9

Additional Information:

  • Browser Type: * Google Chrome
  • Browser Version: *51.0.2704.106 m (64-bit)
  • OS: * Windows 7
  • Stack 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.

Metadata

Metadata

Assignees

Labels

has: Pull RequestA PR has been created to address this issue

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions