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 8f52e18 commit 3b128a3Copy full SHA for 3b128a3
src/lib/dialog/dialog.ts
@@ -56,7 +56,9 @@ export class MdDialog {
56
// Close all of the dialogs when the user goes forwards/backwards in history or when the
57
// location hash changes. Note that this usually doesn't include clicking on links (unless
58
// the user is using the `HashLocationStrategy`).
59
- _location.subscribe(() => this.closeAll());
+ if (!_parentDialog) {
60
+ _location.subscribe(() => this.closeAll());
61
+ }
62
}
63
64
/**
0 commit comments