Skip to content

Commit

Permalink
fix(ui): close popup when tree-select selected
Browse files Browse the repository at this point in the history
  • Loading branch information
xiejay97 committed Mar 6, 2023
1 parent 12a418f commit adb5f33
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/ui/src/components/tree-select/TreeSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -607,6 +607,7 @@ function TreeSelect<V extends DId, T extends DTreeItem<V>>(
} else {
if (!dOnlyLeafSelectable || node.isLeaf) {
changeSelect(node.id);
changeVisible(false);
}
}
}}
Expand Down

0 comments on commit adb5f33

Please sign in to comment.