Skip to content

Commit

Permalink
Fix primefaces#5447: TreeSelect don't close panel on unselect
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware committed Jan 9, 2024
1 parent 168c6f7 commit 04b32d0
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 04b32d0

Please sign in to comment.