diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/controllers/LayoutManager.js b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/controllers/LayoutManager.js index d72ecdea949004984904c3b298564b2495bfb7c2..7ec3437b95a729214809ae1ada9240a3669ffcb6 100644 --- a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/controllers/LayoutManager.js +++ b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/webapps/eln-lims/html/js/controllers/LayoutManager.js @@ -407,7 +407,14 @@ var LayoutManager = { this.isLoadingView = true; var isFirstTime = this.mainContainer === null || forceFirstTime === true || forceFirstTime === undefined; - + + // sideMenuBody scroll fix + var firstColumnScroll = null; + if(this.FOUND_SIZE >= this.TABLET_SIZE) { + firstColumnScroll = $("#sideMenuBody").scrollTop(); + } + // + var width = $( window ).width(); if (width > this.DESKTOP_SIZE) { if (this.FOUND_SIZE !== this.DESKTOP_SIZE) { @@ -435,6 +442,12 @@ var LayoutManager = { this._setMobileLayout(view, isFirstTime); } + // sideMenuBody scroll fix + if(this.FOUND_SIZE >= this.TABLET_SIZE && firstColumnScroll) { + $("#sideMenuBody").scrollTop(firstColumnScroll); + } + // + this.triggerResizeEventHandlers(); this.isLoadingView = false; },