Ticket #4758 (closed defect: duplicate)

Opened 21 months ago

Last modified 20 months ago

Layout widgets don't initialize correctly inside hidden node

Reported by: bill Owned by: peller
Priority: normal Milestone: 1.1
Component: Dijit Version: 0.9
Severity: normal Keywords:
Cc:

Description (last modified by bill) (diff)

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

Changed 21 months ago by bill

  • description modified (diff)

Changed 20 months ago by bill

  • status changed from new to closed
  • resolution set to duplicate

Dup of #4169.

Note: See TracTickets for help on using tickets.