Skip to content
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

When using the addChildren method to iteratively build a tree, lose the grandchild node #2000

Closed
Gryen7 opened this issue Aug 17, 2018 · 1 comment

Comments

@Gryen7
Copy link

Gryen7 commented Aug 17, 2018

Version

1.3.0

Environment

Chrome 68

Reproduction link

https://stackblitz.com/edit/ng-zorro-antd-start-dz5eoa?file=src%2Fapp%2Fapp.component.ts

Steps to reproduce

  1. Create a new grandchild node.
  2. Building a child node using the addChildren method.
  3. Building a parent node using the addChildren method.

I think the problem is here:
7c6fd1e#diff-b56c39a1c31e9a14fabede06a1c9408aL98

What is expected?

Keep all node.

What is actually happening?

Lost grandchild node.

@lock
Copy link

lock bot commented Sep 22, 2019

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators Sep 22, 2019
hsuanxyz pushed a commit to hsuanxyz/ng-zorro-antd that referenced this issue Aug 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants