diff --git a/platform/commonUI/general/src/directives/MCTSplitPane.js b/platform/commonUI/general/src/directives/MCTSplitPane.js index 8c9493364a..8d95ff2b69 100644 --- a/platform/commonUI/general/src/directives/MCTSplitPane.js +++ b/platform/commonUI/general/src/directives/MCTSplitPane.js @@ -155,7 +155,7 @@ define( // Enforce minimum/maximum positions function enforceExtrema() { position = Math.max(position, 0); - position = Math.min(position, $element[0].offsetWidth); + position = Math.min(position, getSize($element[0])); } // Getter-setter for the pixel offset of the splitter,