Opened 14 years ago

Closed 10 years ago

Last modified 10 years ago

#7778 closed defect (wontfix)

dojox.widget.Dialog window resizing issues on ie6

Reported by: Josh Trutwin Owned by: dante
Priority: low Milestone: future
Component: DojoX Widgets Version: 1.2beta
Keywords: dojox.widget.Dialog resize ie6 Cc:
Blocked By: Blocking:


Really like the new Dialog in dojox.widget, especially how it re-centers nicely on window resize, not spilling over the viewport boundary. I tested this on a couple different browsers and (surpirse) noticed there are some glitches in ie6.

I tested in ff3, ff2, ie7 and ie6 by loading this page: dojox/widget/tests/test_Dialog.html and displaying the small dialog by clicking "Default". Then gradually shrank the window smaller and smaller. On ff3 / ff2 the content always seems to center nicely. As the viewport gets extremely small it even does a respectable job making a very tiny dialog (though some of the text spills off the bottom) but it's always centered in the viewport. ie7 does a decent job but as you shrink the viewport more and more the content spills over the bottom part of the viewport, but the dialog is still at least centered. Acceptable.

On ie6 however, the dialog never recenters on browser resize. It seems to be attempting to as you see a momentary flash of the dialog going to the new center, then it jumps back to where it was previously, showing scrollbars if this is off the viewport. Likewise, if you start the browser small and open the dialog and try to increase the size, it does not re-center.

Hope that explanation is adequate, thanks!


Change History (7)

comment:1 Changed 14 years ago by Josh Trutwin

Also, an enhancement request - would it be possible to set the inner padding via an attribute instead of hard-coding to 0 padding (in Dialog.css, dojoxDialogPaneContent selector)?

comment:2 Changed 14 years ago by bill

Hi trutwijd .

You might want to check if this happens in the base class (dijit.Dialog) too and if so file against there.

As for the padding, you can control it by making your own CSS rule that overrides the one in Dialog.css).

comment:3 Changed 14 years ago by Josh Trutwin

Hi Bill,

Checked dijit/tests/test_Dialog.html and that Dialog always re-centers nicely on ie6 (though it doesn't have the nifty feature of not crossing the viewport boundaries that dojox.widget.Dialog has)


comment:4 Changed 14 years ago by dante

Milestone: tbdfuture

comment:5 Changed 10 years ago by ben hockey

Keywords: needsreview added
Priority: highlow

i'm trying to identify stale tickets. if there is a need to keep this ticket open, please replace the "needsreview" keyword with "reviewed". if there is no need to keep this ticket open then please close it.

comment:6 Changed 10 years ago by bill

Resolution: wontfix
Status: newclosed

Too bad this ticket was abandoned, but now with IE6 on it's last legs presumably we won't fix it.

comment:7 Changed 10 years ago by bill

Keywords: needsreview removed
Note: See TracTickets for help on using tickets.