Bug #11345 » 0001-Fix-lost-scrollbar-w-WStackedWidget-in-layout.patch
| 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")] = "";
|
||