Skip to content

Commit

Permalink
fix(module: tree): fix expand state bug for tree-select (#2997)
Browse files Browse the repository at this point in the history
  • Loading branch information
simplejason authored and hsuanxyz committed Mar 1, 2019
1 parent 0db070d commit 623a9ff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/tree/nz-tree-node.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@

<ul
role="group"
class="ant-tree-child-tree ant-tree-child-tree-open"
class="ant-tree-child-tree"
[class.ant-tree-child-tree-open]="!nzSelectMode || nzTreeNode.isExpanded"
data-expanded="true"
[@.disabled]="noAnimation?.nzNoAnimation"
[@collapseMotion]="nzTreeNode.isExpanded ? 'expanded' : 'collapsed'">
Expand Down

0 comments on commit 623a9ff

Please sign in to comment.