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

tree component nzSelectedKeys not work with setTimeout #3001

Closed
simplejason opened this issue Mar 1, 2019 · 0 comments · Fixed by #3003
Closed

tree component nzSelectedKeys not work with setTimeout #3001

simplejason opened this issue Mar 1, 2019 · 0 comments · Fixed by #3003

Comments

@simplejason
Copy link
Member

Reproduction link

https://stackblitz.com/edit/angular-mg6hvr-cesjkx?file=src/app/app.component.ts

Steps to reproduce

like demo

What is expected?

nzSelectedKeys(include nzCheckedKeys, nzExpandedKeys) render tree dom correctly

What is actually happening?

read demo

Environment Info
ng-zorro-antd 7.0.0
Browser any
simplejason pushed a commit to simplejason/ng-zorro-antd that referenced this issue Mar 1, 2019
@simplejason simplejason assigned hsuanxyz and unassigned hsuanxyz Mar 1, 2019
simplejason pushed a commit to simplejason/ng-zorro-antd that referenced this issue Mar 2, 2019
fix(module: tree): fix default keys bug with setTimeOut

close NG-ZORRO#3001

fix(module: tree): reset nzTreeNode component Input

fix(module: tree): rollback nzTreeNode component Input

fix(module: tree): rollback nzTreeNode component Input
simplejason pushed a commit to simplejason/ng-zorro-antd that referenced this issue Mar 2, 2019
close NG-ZORRO#3001

fix(module: tree): remove unused code

fix(module: tree): fix spec test

fix(module: tree): fix tree-select spec test

fix(module: tree): fix tree spec test
simplejason pushed a commit to simplejason/ng-zorro-antd that referenced this issue Mar 2, 2019
close NG-ZORRO#3001

fix(module: tree): remove unused code

fix(module: tree): fix spec test

fix(module: tree): fix tree-select spec test

fix(module: tree): fix tree spec test

fix(module: tree): fix tree demo
simplejason pushed a commit to simplejason/ng-zorro-antd that referenced this issue Mar 4, 2019
close NG-ZORRO#3001

fix(module: tree): remove unused code

fix(module: tree): fix spec test

fix(module: tree): fix tree-select spec test

fix(module: tree): fix tree spec test

fix(module: tree): fix tree demo

fix(module: tree): fix tree drag event and remove unsave code

fix(module: tree-select): remove code comments
simplejason pushed a commit to simplejason/ng-zorro-antd that referenced this issue Mar 4, 2019
close NG-ZORRO#3001

fix(module: tree): remove unused code

fix(module: tree): fix tree spec test

fix(module: tree): fix tree demo

fix(module: tree): fix tree drag event and remove unsave code

fix(module: tree-select): remove code comments

fix(module: tree): fix demo
hsuanxyz pushed a commit that referenced this issue Mar 4, 2019
close #3001

fix(module: tree): remove unused code

fix(module: tree): fix tree spec test

fix(module: tree): fix tree demo

fix(module: tree): fix tree drag event and remove unsave code

fix(module: tree-select): remove code comments

fix(module: tree): fix demo
Ricbet pushed a commit to Ricbet/ng-zorro-antd that referenced this issue Apr 9, 2020
close NG-ZORRO#3001

fix(module: tree): remove unused code

fix(module: tree): fix tree spec test

fix(module: tree): fix tree demo

fix(module: tree): fix tree drag event and remove unsave code

fix(module: tree-select): remove code comments

fix(module: tree): fix demo
hsuanxyz pushed a commit to hsuanxyz/ng-zorro-antd that referenced this issue Aug 5, 2020
close NG-ZORRO#3001

fix(module: tree): remove unused code

fix(module: tree): fix tree spec test

fix(module: tree): fix tree demo

fix(module: tree): fix tree drag event and remove unsave code

fix(module: tree-select): remove code comments

fix(module: tree): fix demo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants