Project

General

Profile

Bug #7082 » 0001-Fix-WStackedWidget-losing-scrollbar-in-layout.patch

Bruce Toll, 06/07/2019 10:04 PM

View differences:

src/js/WStackedWidget.js
257 257
     function restoreFrom() {
258 258
       $from.removeClass(anim + ' out');
259 259
       from.style.display = 'none';
260
       if (stack.lh) { // stack has a layout-set height
261
	 if (to.lh) { // child had a layout-set height
262
	   to.style.height = '';
263
	   to.lh = false;
264
	 }
265
       }
266 260
	 
267 261
       from.style[WT.styleAttribute('animation-duration')] = '';
268 262
       from.style[WT.styleAttribute('animation-timing-function')] = '';
269
- 
(2-2/2)