Deal with scrollarea absolute positioning vs expanding tree

This commit is contained in:
nathan 2024-10-04 16:55:53 -06:00
parent b7215be0f1
commit 6fae72613f

View File

@ -1173,6 +1173,7 @@ window.egw_fw_ui_scrollarea.prototype.update = function()
this.contHeight = jQuery(this.scrollDiv).outerHeight(); this.contHeight = jQuery(this.scrollDiv).outerHeight();
this.boxHeight = jQuery(this.contDiv).height(); this.boxHeight = jQuery(this.contDiv).height();
this.outerDiv.scrollIntoView();
this.toggleButtons(this.contHeight > this.boxHeight); this.toggleButtons(this.contHeight > this.boxHeight);
this.setScrollPos(this.scrollPos); this.setScrollPos(this.scrollPos);
}; };