Skip to content

Commit

Permalink
Fix #5447: TreeSelect don't close panel on unselect (#5449)
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware authored Nov 29, 2023
1 parent 0520ff8 commit b0e59cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/lib/treeselect/TreeSelect.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ export const TreeSelect = React.memo(

const onNodeUnselect = (node) => {
props.onNodeUnselect && props.onNodeUnselect(node);
isCheckboxSelectionMode && node.originalEvent.stopPropagation();
};

const onNodeToggle = (e) => {
Expand Down

0 comments on commit b0e59cc

Please sign in to comment.