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.
dialog(multiple): main dialog (clickOutsideToClose: false) is closed when nested dialog is opened #11828
Open
Description
Bug, enhancement request, or proposal:
Bug
CodePen and steps to reproduce the issue:
CodePen Demo which demonstrates the issue:
https://codepen.io/vadymchyk/pen/yLyOOPX
Detailed Reproduction Steps:
Create two multiple dialogs
First:
clickOutsideToClose: false,
escapeToClose: false,
Second (nested):
clickOutsideToClose: true,
multiple: true,
- Open the first dialog
- Open the second dialog(multiple)
- Press "Esc" or click outside when the second dialog is opening (during animation)
What is the expected behavior?
The first dialog stay opened
What is the current behavior?
The first dialog is closed
What is the use-case or motivation for changing an existing behavior?
Which versions of AngularJS, Material, OS, and browsers are affected?
- AngularJS: 1.7.8
- AngularJS Material: 1.1.20
- OS: all
- Browsers: all