-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
树组件的nzHideUnMatched属性存在bug #3739
Labels
Comments
Translation of this issue:There is a bug in the nzHideUnMatched property of the tree componentReproduction link[https://stackblitz.com/edit/angular-43rgfp?file=src/app/app.component.ts](https://stackblitz.com/edit/angular-43rgfp?file=src/app/app. Component.ts) Steps to reproduceClose the unmatched search node What is expected?Just put away What is actually happening?Gone
Get displayStyle(): string { |
4 tasks
wzhudev
pushed a commit
that referenced
this issue
Jul 19, 2019
close #3739 * fix: unexpected disappear of tree-node * test(module:nz-tree): update case * perf: add prop shouldHide to nzTreeNode * chore: rename prop shouldHide to canHide * fix: check match status of upstream and downstream tree node * test(module:nz-tree): update fit to it * chore: remove useless access modifier * test: update cases * test: combine two cases
Ricbet
pushed a commit
to Ricbet/ng-zorro-antd
that referenced
this issue
Apr 9, 2020
close NG-ZORRO#3739 * fix: unexpected disappear of tree-node * test(module:nz-tree): update case * perf: add prop shouldHide to nzTreeNode * chore: rename prop shouldHide to canHide * fix: check match status of upstream and downstream tree node * test(module:nz-tree): update fit to it * chore: remove useless access modifier * test: update cases * test: combine two cases
hsuanxyz
pushed a commit
to hsuanxyz/ng-zorro-antd
that referenced
this issue
Aug 5, 2020
close NG-ZORRO#3739 * fix: unexpected disappear of tree-node * test(module:nz-tree): update case * perf: add prop shouldHide to nzTreeNode * chore: rename prop shouldHide to canHide * fix: check match status of upstream and downstream tree node * test(module:nz-tree): update fit to it * chore: remove useless access modifier * test: update cases * test: combine two cases
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reproduction link
https://stackblitz.com/edit/angular-43rgfp?file=src/app/app.component.ts
Steps to reproduce
关闭未匹配搜索节点即可
What is expected?
只是收起
What is actually happening?
没了
get displayStyle(): string {
// to hide unmatched nodes
return this.nzSearchValue && this.nzHideUnMatched && !this.nzTreeNode.isMatched && !this.nzTreeNode.isExpanded
? 'none'
: '';
}
The text was updated successfully, but these errors were encountered: