Ticket #7015 (closed defect: invalid)

Opened 6 months ago

Last modified 5 months ago

TabContainer: 1st tab in tabContainer created programmatically does not render properly.

Reported by: guest Owned by:
Priority: normal Milestone: 1.2
Component: Dijit Version: 1.1.1
Severity: normal Keywords: TabContainer, render
Cc: saj14saj@…

Description

See http://dojotoolkit.org/forum/dijit-dijit-0-9/dijit-support/tabcontainer-first-tab-rendering-incorrectly-all-browsers#comment-16211

. . .

This problem appears in FF 3 and IE 7 at least; I have not tested other browsers.

When creating a TabContainer? with a single programmatically created tab, it misrenders the tab.

Additional testing shows that if two tabs are created programmatically quite quickly, both tabs are misrendered.

Workaround: create a dummy tab after a small timeout delay (20 ms appears to work) and then delete the dummy tab.

Change History

Changed 6 months ago by bill

  • owner deleted
  • component changed from DojoX Widgets to Dijit
  • summary changed from 1st tab in tabContainer created programmatically does not render properly. to TabContainer: 1st tab in tabContainer created programmatically does not render properly.

Try attaching a test case using the Attach File button.

Changed 5 months ago by bill

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

OK Scott, I see your code in the forum post but please put that into a test file and attach it to this ticket using the "Attach file" button, and then reopen.

Try to get a smaller test case w/out using BorderContainer, AccordionContainer, etc. and whatever that createIframe() function is.

BTW you shouldn't need to call TabContainer?.layout() at all.

Note: See TracTickets for help on using tickets.