We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b21662 commit 5338648Copy full SHA for 5338648
src/lib/dialog/dialog.ts
@@ -36,7 +36,9 @@ export class MdDialog {
36
// Close all of the dialogs when the user goes forwards/backwards in history or when the
37
// location hash changes. Note that this usually doesn't include clicking on links (unless
38
// the user is using the `HashLocationStrategy`).
39
- _location.subscribe(() => this.closeAll());
+ if (!_parentDialog) {
40
+ _location.subscribe(() => this.closeAll());
41
+ }
42
}
43
44
/**
0 commit comments