-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nz-tree-view 在 OnPush 模式下,删除末尾 leaf 之后,左侧 Indent line 显示异常 #6714
Comments
Translation of this issue:NZ-Tree-View In OnPush mode, after deleting the end Leaf, the left index is abnormal.reproduction link[https://stackblitz.com/Edit/ng- Zorro-antd-ivy-jyonfj?file=src%2fapp%2fapp.component.ts](https://stackblitz.com/edit/ng- ze- anan- Ivy-jyonfj? file = src% 2FAPP% 2Fapp.component.ts) steps to reproduceClick on the button "Delete the end of the child." You can find that the index is deleted, the indeantline on the left is not updated to the LAST. What is expected?Desire to delete lines on the left can be updated correctly What is actually happens?The left delete line is not updated correctly
|
Reproduction link
https://stackblitz.com/edit/ng-zorro-antd-ivy-jyonfj?file=src%2Fapp%2Fapp.component.ts
Steps to reproduce
直接点击按钮 “删除末尾孩子结点”。 就可以发现结点删除之后,左侧的 indentline 没有更新为 last 的状态
What is expected?
期望左侧删除线可以正确更新
What is actually happening?
左侧删除线没有正确更新
npm run start
, 然后加了一个 demo 尝试去修复,发现同样的代码在这里启动就是正确的,所以本人也不知道该如何去 debug 了The text was updated successfully, but these errors were encountered: