Project

General

Profile

Bug #11345 » 0001-Fix-lost-scrollbar-w-WStackedWidget-in-layout.patch

Bruce Toll, 02/16/2023 11:55 PM

View differences:

src/js/WStackedWidget.js
function restoreFrom() {
from.classList.remove(...anim, "out");
from.style.display = "none";
if (stack.lh) { // stack has a layout-set height
if (to.lh) { // child had a layout-set height
to.style.height = "";
to.lh = false;
}
}
from.style[WT.styleAttribute("animation-duration")] = "";
from.style[WT.styleAttribute("animation-timing-function")] = "";
(2-2/5)