Skip to content

Select component on a side drawer - escape key closes the drawer #9928

@gtranter

Description

@gtranter

Bug, feature request, or proposal:

Bug?

What is the expected behavior?

When the select is open on a temporary side drawer, the escape key should close the select list, but not the side drawer.

What is the current behavior?

When the select is open on a temporary side drawer, the escape key will close the drawer as well as the select list.

What are the steps to reproduce?

https://stackblitz.com/edit/angular-dttmuf

  1. Open the drawer using the button
  2. Open the Select.
  3. Press escape.

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

Angular 5.2.4, Angular Material 5.2.1

Metadata

Metadata

Assignees

Labels

P2The issue is important to a large percentage of users, with a workaround

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions