Opened 12 years ago

Closed 12 years ago

#3780 closed defect (fixed)

Dijit Dialog will only render correctly if it is a direct child of the html body element.

Reported by: guest Owned by: bill
Priority: high Milestone: 0.9
Component: Dijit Version: 0.9
Keywords: Dialog body Cc:
Blocked By: Blocking:

Description

Pls see: http://dojotoolkit.org/forum/dijit/dijit-support/dialog-position-dom-tree-change-0-4-3-0-9b#comment-3758

In dojo 0.4 it was possible to create a dialog anywhere in the DOM. In 0.9 a dialog has to be an immediate child of the body element in order to render. The nightly theme tester provides a useful test harness for this behaviour: using the Tooltips accordian page and selecting the 'show Second Dialog' link. Tested in FF 2.0 and IE7.

Change History (3)

comment:1 Changed 12 years ago by guest

'Submitted by' got reset by preview page, should be rishson@…

comment:2 Changed 12 years ago by bill

Milestone: 0.9
Status: newassigned

Sure, I'll add that into 0.9; see also comments on the above link to the forum.

comment:3 Changed 12 years ago by bill

Resolution: fixed
Status: assignedclosed

(In [9808]) If Dialog isn't a child of document.body then move it there, so that it displays correctly. Fixes #3780.

Note: See TracTickets for help on using tickets.