Project

General

Profile

Bug #3932

Attribute position not modifiable for WDialog

Added by Sebastien Besombes about 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
Start date:
03/30/2015
Due date:
% Done:

0%

Estimated time:

Description

The WDialog created by the AuthWidget during createRegistrationView has a non modifiable position attribute set to Fixed on most browser but not IE.

As clearly said in the WDialog.C this attribute is not modifiable by CSS:

/*

  • Cannot be done using the CSS stylesheet in case there are
  • contained elements with setHideWithOffsets() set
  • For IE, we cannot set it yet since it will confuse width measurements
  • to become minimum size instead of (unconstrained) preferred size
    */

But the fact that this attribute is not modifiable leads to problems with small screens.

The Fixed position attribute pushes the dialog at the center of the viewport, if there's some parts ouside the viewport then scrollbars are useless to access to hidden parts of the dialog.

Setting the attribute to Absolute solves this behavior but it can't be set by CSS neither inside source code as it's hardcoded in the lib.

By reading the code it seems that it was a choice made to get around some bugs with IE.

Do you have any idea how I can get around this limitation?

Sebastien

No data to display

Also available in: Atom PDF