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
  • Loading branch information
mcandu committed Apr 15, 2022
1 parent f128cf5 commit f0a23d2
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 f0a23d2

Please sign in to comment.