Search and Top Navigation
#5637 closed bug (fixed)
Opened May 20, 2010 05:13AM UTC
Closed May 18, 2011 01:34PM UTC
Last modified July 18, 2011 01:54PM UTC
Dialog: Dimensions of reused overlay may cause scrollbars
Reported by: | mkemmerling | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.9.0 |
Component: | ui.dialog | Version: | 1.8.1 |
Keywords: | dialog overlay | Cc: | |
Blocked by: | Blocking: |
Description
The dialog overlay reuses old instances to work around an IE memory leak with alpha transparency. This might result in a too large overlay if the window is rescaled in between successive uses of the dialog.
To reproduce the bug open the modal form demo in a wide browser window and
1. Open the 'Create new user' dialog and cancel it.
2. Make the browser window smaller.
3. Reopen the dialog.
The window has now a horizontal scroll bar due to a too wide overlay.
Workaround: Set the overlay's width and height to 0, either before destroying it or before setting its dimensions on creation.
Attachments (0)
Change History (4)
Changed May 06, 2011 03:52PM UTC by comment:1
Changed May 18, 2011 01:34PM UTC by comment:2
status: | new → open |
---|---|
summary: | Dimensions of reused dialog overlay → Dialog: Dimensions of reused overlay may cause scrollbars |
I have sent a pull request at https://github.com/jquery/jquery-ui/pull/211.
Thanks