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 f73cc97 commit 560ac71Copy full SHA for 560ac71
src/lib/dialog/dialog-container.ts
@@ -17,6 +17,7 @@ import {
17
EventEmitter,
18
Inject,
19
Optional,
20
+ ChangeDetectionStrategy,
21
} from '@angular/core';
22
import {
23
animate,
@@ -50,6 +51,7 @@ export function throwMdDialogContentAlreadyAttachedError() {
50
51
selector: 'md-dialog-container, mat-dialog-container',
52
templateUrl: 'dialog-container.html',
53
styleUrls: ['dialog.css'],
54
+ changeDetection: ChangeDetectionStrategy.OnPush,
55
encapsulation: ViewEncapsulation.None,
56
animations: [
57
trigger('slideDialog', [
0 commit comments