Skip to content

bug(cdk/overlay): cdkConnectedOverlay closes on escape even when another overlay is open #22694

Closed
@igodorogea

Description

@igodorogea

Reproduction

StackBlitz to reproduce:

Steps to reproduce:

  1. Open overlay
  2. Open menu
  3. Press Escape

Expected Behavior

Only menu is closed, overlay stays open.

Actual Behavior

Overlay and menu are both closed.

Environment

  • Angular: 11.2.x - 12.0.0
  • CDK/Material: 11.2.x - 12.0.0
  • Browser(s): Chrome, Opera, FF, Edge
  • Operating System (e.g. Windows, macOS, Ubuntu): Windows

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/menu

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions