From 6fae72613fcd108475727bd02678aaa48b01575a Mon Sep 17 00:00:00 2001 From: nathan Date: Fri, 4 Oct 2024 16:55:53 -0600 Subject: [PATCH] Deal with scrollarea absolute positioning vs expanding tree --- api/js/framework/fw_ui.js | 1 + 1 file changed, 1 insertion(+) diff --git a/api/js/framework/fw_ui.js b/api/js/framework/fw_ui.js index 1cbe8ca06b..087af273bc 100644 --- a/api/js/framework/fw_ui.js +++ b/api/js/framework/fw_ui.js @@ -1173,6 +1173,7 @@ window.egw_fw_ui_scrollarea.prototype.update = function() this.contHeight = jQuery(this.scrollDiv).outerHeight(); this.boxHeight = jQuery(this.contDiv).height(); + this.outerDiv.scrollIntoView(); this.toggleButtons(this.contHeight > this.boxHeight); this.setScrollPos(this.scrollPos); };