Project

General

Profile

Bug #11345 » 0003-Fix-lost-scrollbar-w-WStackedWidget-and-no-layout.patch

Bruce Toll, 02/23/2023 03:20 AM

View differences:

src/js/WStackedWidget.js
to.style.left = "";
to.style.width = "";
to.style.top = "";
if (!stack.lh) { // stack has no layout-set height
if (!to.lh) { // child has no layout-set height (by itself)
to.style.height = "";
}
} else {
if (stack.lh || (typeof stack.lh == 'undefined' && stack.style.height !== "")) { // stack has set height
to.lh = true; // height was set before animation
} else if (!to.lh) { // child has no layout-set height (by itself)
to.style.height = "";
}
if (WT.isGecko && (effects & Fade)) {
(5-5/5)