diff --git a/components/lib/splitter/Splitter.js b/components/lib/splitter/Splitter.js index 077e9a2a99..a6dcd6371c 100644 --- a/components/lib/splitter/Splitter.js +++ b/components/lib/splitter/Splitter.js @@ -200,6 +200,7 @@ export const Splitter = React.memo( const onResizeEnd = (event) => { let sizes = [...panelSizes]; + sizes[prevPanelIndex.current] = prevPanelSizeNew.current; sizes[prevPanelIndex.current + 1] = nextPanelSizeNew.current;