Ticket #7778 (new defect)
dojox.widget.Dialog window resizing issues on ie6
| Reported by: | trutwijd | Owned by: | dante |
|---|---|---|---|
| Priority: | normal | Milestone: | future |
| Component: | DojoX Widgets | Version: | 1.2beta |
| Severity: | normal | Keywords: | dojox.widget.Dialog resize ie6 |
| Cc: |
Description
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!
Josh