Skip to content

Dialogs opened from lazy-loaded module can't be closed by pressing ESC #3737

Closed
@aksyonov

Description

@aksyonov

Bug, feature request, or proposal:

Bug - if I open dialog from lazy-loaded module, I can't close it by pressing ESC. Clicking outside dialog works as expected.

What is the expected behavior?

When I press ESC, dialog should be closed.

What is the current behavior?

Dialog remains open.

What are the steps to reproduce?

Plunker: http://plnkr.co/edit/6zDUFQeJqbux6mWupvNL?p=preview

Which versions of Angular, Material, OS, browsers are affected?

@angular/material: beta.2

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions