Opened 11 years ago

Closed 10 years ago

#8170 closed defect (worksforme)

IE8: When having oversized Dijit.Dialog content, scrollbars appear for body

Reported by: thekryz Owned by: bill
Priority: low Milestone: 1.3
Component: Dijit Version: 1.2.1
Keywords: IE8 Dijit.Dialog scrollbar body oversized Cc:
Blocked By: Blocking:

Description

When creating a Dijit.Dialog with oversized content, it creates scrollbars in the Dialog - but in the body also (check out first image). This only happens in IE8!!

Just check out the attached example in IE8 - and scroll all the way down in the example. This will make the Dialog run wild (see second image)

Attachments (3)

dialogBug1.jpg (233.7 KB) - added by thekryz 11 years ago.
Scrollbars appear in the body of the page because of Dijit.Dialog
dialogBug2.jpg (219.3 KB) - added by thekryz 11 years ago.
When scrolling all the way down, the Dialog runs wild.
dialogtest.html (7.8 KB) - added by thekryz 11 years ago.
My Testfile.

Download all attachments as: .zip

Change History (7)

Changed 11 years ago by thekryz

Attachment: dialogBug1.jpg added

Scrollbars appear in the body of the page because of Dijit.Dialog

Changed 11 years ago by thekryz

Attachment: dialogBug2.jpg added

When scrolling all the way down, the Dialog runs wild.

comment:1 Changed 11 years ago by bill

Component: GeneralDijit
Milestone: tbd1.3
Owner: anonymous deleted
Summary: [IE 8] When having oversized Dijit.Dialog content, scrollbars appear for bodyIE8: When having oversized Dijit.Dialog content, scrollbars appear for body

Thanks for the report.

Changed 11 years ago by thekryz

Attachment: dialogtest.html added

My Testfile.

comment:2 Changed 11 years ago by bill

Seems like getViewport() is failing, judging by the results on tests/_base/viewportStrict.html in IE7 compatibility mode vs. standard IE8 mode.

IE7 compatibility mode:

Document is 1264px x 221px, viewport is 1264px x 323px, with scroll offset of (0, 0)
Adding text...

Document is 1264px x 1766px, viewport is 1264px x 323px, with scroll offset of (0, 0)

IE8 normal mode:

Document is 1281px x 207px, viewport is 1285px x 327px, with scroll offset of (0, 0)
Adding text...

Document is 1264px x 1752px, viewport is 1285px x 327px, with scroll offset of (0, 0)

The viewport shouldn't be wider than the document, and also it's unclear why the document's width itself changed.

comment:3 Changed 10 years ago by Douglas Hays

Owner: set to bill

I could not recreate this with the new IE8 public rc1

comment:4 Changed 10 years ago by bill

Resolution: worksforme
Status: newclosed

Yup, working for me too, with public IE8 rc1. Closing as worksforme for lack of a better category.

Note: See TracTickets for help on using tickets.