Project

General

Profile

Actions

Bug #6732

closed

Height of webpage fails to shrink back

Added by Zachary Struck over 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
11/14/2018
Due date:
% Done:

0%

Estimated time:

Description

Our webpage uses WStackWidget. Using Wt 4.0.5, we now have a bug:

When we switch from a larger page to a smaller page, the smaller page remains stretched out with an empty space at the bottom.

I was able to narrow it down to WStackedWidget.js. Git commit e771d6ac

The following lines were removed:

     /* Remember original height, also used by layout managers to analyze
      * the widget should it be a container with a layout manager */
     to.nativeHeight = to.style.height;

We need these lines so that the webpage knows how to return to its original height.

Actions #1

Updated by Koen Deforche over 5 years ago

  • Status changed from New to Feedback

Thanks for narrowing it down. Would it be possible to provide a test case that reproduces the issue?

Actions #2

Updated by Roel Standaert over 5 years ago

  • Status changed from Feedback to Resolved

See issue #6788

Actions #3

Updated by Roel Standaert almost 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF