Skip to content

Commit

Permalink
Fixed #2752 - Treeselect jumps to the first selected item everytime a…
Browse files Browse the repository at this point in the history
… new item is selected (#2753)
  • Loading branch information
mcandu authored Apr 15, 2022
1 parent e86f1de commit e98e187
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion components/lib/treeselect/TreeSelect.js
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,6 @@ export const TreeSelect = React.memo(React.forwardRef((props, ref) => {
if (!selfChange.current) {
updateTreeState();
}
scrollInView();

selfChange.current = false;
}
Expand Down

0 comments on commit e98e187

Please sign in to comment.