From f0a23d241b62049e5485ab537b1539b07e4bf565 Mon Sep 17 00:00:00 2001 From: mcandu Date: Fri, 15 Apr 2022 10:25:12 +0300 Subject: [PATCH] Fixed #2752 - Treeselect jumps to the first selected item everytime a new item is selected --- components/lib/treeselect/TreeSelect.js | 1 - 1 file changed, 1 deletion(-) diff --git a/components/lib/treeselect/TreeSelect.js b/components/lib/treeselect/TreeSelect.js index 4ac6bb4a27..ce1e7654d4 100644 --- a/components/lib/treeselect/TreeSelect.js +++ b/components/lib/treeselect/TreeSelect.js @@ -302,7 +302,6 @@ export const TreeSelect = React.memo(React.forwardRef((props, ref) => { if (!selfChange.current) { updateTreeState(); } - scrollInView(); selfChange.current = false; }