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 5b7a6a3 commit 7857b92Copy full SHA for 7857b92
src/lib/tree/node.ts
@@ -101,4 +101,15 @@ export class MatNestedTreeNode<T> extends _MatNestedTreeNodeMixinBase<T>
101
102
this.tabIndex = Number(tabIndex) || 0;
103
}
104
+
105
+ // This is a workaround for https://github.com/angular/angular/issues/23091
106
+ // In aot mode, the lifecycle hooks from parent class are not called.
107
+ // TODO(tinayuangao): Remove when the angular issue #23091 is fixed
108
+ ngAfterContentInit() {
109
+ super.ngAfterContentInit();
110
+ }
111
112
+ ngOnDestroy() {
113
+ super.ngOnDestroy();
114
115
0 commit comments