Opened 15 years ago

Closed 15 years ago

#4758 closed defect (duplicate)

Layout widgets don't initialize correctly inside hidden node

Reported by: bill Owned by: Adam Peller
Priority: high Milestone: 1.1
Component: Dijit Version: 0.9
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by bill)

TabContainer inside a Dialog won't work correctly because when TabContainer.startup() is called, the TabContainer is hidden and thus functions like dojo.getMarginBox() returns 0. Same thing for other cases, like having an Editor inside a hidden tab.

Doug found that you can connect to an onload event on a dom node that isn't triggered until the node is displayed on the screen, so maybe we can use that technique to do resizing as the dialog is displayed.

Change History (2)

comment:1 Changed 15 years ago by bill

Description: modified (diff)

comment:2 Changed 15 years ago by bill

Resolution: duplicate
Status: newclosed

Dup of #4169.

Note: See TracTickets for help on using tickets.