You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
What is the issue? When I open a new dialog ($mdDialog.show with skipHide: true) inside another dialog, it opens correctly. But when I try to close cancelling it ($mdDialog.cancel), the dialog which is closed is the first one, the parent, the one who opens the dialog which calls cancel operation. The child dialog still remains and when canceled again it is closed then.
What is the expected behavior? The dialog which is expected to be closed is the child one, the one whose controller called the cancel operation.
CodePen (or steps to reproduce the issue): *
CodePen Demo which shows your issue:
Details:
Open a new dialog with $mdDialog.show
Open a new dialog inside the last one with $mdDialog.show (skipHide:true)
Cancel the last dialog with $mdDialog.cancel
Angular Versions: *
Angular Version: 1.5.5
Angular Material Version: 1.1.1
Additional Information:
Browser Type: Firefox and Chrome
Browser Version: Chrome 53.0.2785.116 m (64-bit) and Firefox 48.0.2
OS: Windows 10
Stack Traces:
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Actual Behavior:
What is the issue?
When I open a new dialog ($mdDialog.show with skipHide: true) inside another dialog, it opens correctly. But when I try to close cancelling it ($mdDialog.cancel), the dialog which is closed is the first one, the parent, the one who opens the dialog which calls cancel operation. The child dialog still remains and when canceled again it is closed then.What is the expected behavior?
The dialog which is expected to be closed is the child one, the one whose controller called the cancel operation.CodePen (or steps to reproduce the issue): *
CodePen Demo which shows your issue:
Details:
Angular Versions: *
Angular Version: 1.5.5
Angular Material Version: 1.1.1
Additional Information:
Browser Type: Firefox and Chrome
Browser Version: Chrome 53.0.2785.116 m (64-bit) and Firefox 48.0.2
OS: Windows 10
Stack Traces:
The text was updated successfully, but these errors were encountered: