Opened 9 years ago

Closed 9 years ago

Last modified 7 years ago

#5976 closed bug (notabug)

Dialog box adds whitespace at the end of the page while opened

Reported by: Anomaly Owned by:
Priority: major Milestone:
Component: ui.dialog Version: 1.8.4
Keywords: Cc:
Blocked by: Blocking:

Description

With jQuery UI 1.8.4, when a dialog box is opened, there is some whitespace added at the end of the page (of the height of the dialog box). The whitespace is removed when the dialog box is closed.

This didn't happen with jQuery UI 1.5.2. This bug is really annoying because I have a full screen html/javascript application (without scrollbars), and since I upgraded jQuery UI, a scrollbar is now created when a dialog is opened because of this whitespace.

To test: http://bertrand3000.free.fr/

If there is no scrollbar visible, reduce the size of the browser window until the vertical scrollbar appears.

Scroll down, and notice there is whitespace at the end of the page. Close the dialog box and notice the whitespace is now gone.

Using: jQuery 1.4.2 and custom jQuery UI 1.8.4 with only Draggable and Dialog components.

Happens with: Firefox 3.6, Opera 10.6, Chromium 5.0. No idea if Internet Explorer is affected.

Change History (2)

comment:1 Changed 9 years ago by Scott González

Resolution: invalid
Status: newclosed

You're using an old theme. Dialogs need to be absolutely positioned and yours is relatively positioned.

comment:2 Changed 7 years ago by Scott González

Milestone: TBD

Milestone TBD deleted

Note: See TracTickets for help on using tickets.