Opened 11 years ago

Closed 11 years ago

#7015 closed defect (invalid)

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

Reported by: guest Owned by:
Priority: high Milestone: 1.2
Component: Dijit Version: 1.1.1
Keywords: TabContainer, render Cc: saj14saj@…
Blocked By: Blocking:

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 (2)

comment:1 Changed 11 years ago by bill

Component: DojoX WidgetsDijit
Owner: dante deleted
Summary: 1st tab in tabContainer created programmatically does not render properly.TabContainer: 1st tab in tabContainer created programmatically does not render properly.

Try attaching a test case using the Attach File button.

comment:2 Changed 11 years ago by bill

Resolution: invalid
Status: newclosed

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.