Skip to content

Commit

Permalink
fix: DirectoryTree props expandAction doesn't work for "doubleclick" #…
Browse files Browse the repository at this point in the history
  • Loading branch information
tangjinzhou committed May 26, 2019
1 parent 974e7c0 commit 0596aaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/vc-tree/src/TreeNode.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ const TreeNode = {
onMouseleave={this.onMouseLeave}
onContextmenu={this.onContextMenu}
onClick={this.onSelectorClick}
onDoubleclick={this.onSelectorDoubleClick}
onDblclick={this.onSelectorDoubleClick}
onDragstart={draggable ? this.onDragStart : noop}
>
{$icon}
Expand Down

0 comments on commit 0596aaf

Please sign in to comment.