Closed lycHub closed 2 years ago
https://stackblitz.com/edit/angular-xdjeqe?file=src/app/app.component.ts
Click the remove button at the top to delete the last node
Delete the last node, the arrow of its parent node disappears
The arrow of its parent node will not disappear
In order to prevent washing the entire tree every time, I used the trackBy attribute
@lycHub, @hsuanxyz prepared PR for this issue PR
Reproduction link
https://stackblitz.com/edit/angular-xdjeqe?file=src/app/app.component.ts
Steps to reproduce
Click the remove button at the top to delete the last node
What is expected?
Delete the last node, the arrow of its parent node disappears
What is actually happening?
The arrow of its parent node will not disappear
In order to prevent washing the entire tree every time, I used the trackBy attribute