Search code examples
angularantdng-zorro-antd

correct way to update tree node in ng-zorro-antd


I'm trying to update node (title) in the tree. As I understand tree will only reflect changes if nodes array changed by ref (see example), but in this case after I update nodes the tree got noticeable flickering when redrawing, how do I prevent this, see stackbliz examale https://stackblitz.com/edit/angular-2rvj6b-xzwloq, thanks !


Solution

  • Use nzNoAnimation everywhere, example updated