We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a9a2dd commit a702674Copy full SHA for a702674
components/tree-view/tree-virtual-scroll-view.ts
@@ -77,6 +77,7 @@ export class NzTreeVirtualScrollViewComponent<T> extends NzTreeView<T> implement
77
override renderNodeChanges(data: T[] | readonly T[]): void {
78
this.nodes = new Array(...data).map((n, i) => this.createNode(n, i));
79
this._dataSourceChanged.next();
80
+ this.changeDetectorRef.markForCheck();
81
}
82
83
private createNode(nodeData: T, index: number): NzTreeVirtualNodeData<T> {
0 commit comments