Opened 12 years ago

Closed 12 years ago

#5390 closed defect (duplicate)

Accordion pane inside tabs and content panes

Reported by: guest Owned by:
Priority: high Milestone:
Component: Dijit Version: 1.0
Keywords: Cc:
Blocked By: Blocking:

Description

Its not possible to use an accordion container with accordion panes inside tabs. After startup i get a javascript error. There is also an error without the accordion if i resize the window to e.g. 100px*100px I am using 1.0.2rc1.

br obi068

Attachments (2)

test_LayoutContainer1.html (10.1 KB) - added by guest 12 years ago.
test_LayoutContainer2.html (2.3 KB) - added by guest 12 years ago.

Download all attachments as: .zip

Change History (7)

Changed 12 years ago by guest

Attachment: test_LayoutContainer1.html added

comment:1 in reply to:  description Changed 12 years ago by guest

The problem with the accordion panes is in tab3!

obi068

comment:2 Changed 12 years ago by guest

Tested now also with firefox. With firefox 2.0.0.10 ther is no error at startup, but it does only work if i resize the window. With IE7 it doesnt work at all.

comment:3 Changed 12 years ago by bill

Milestone: 1.0.2

Can you try to reduce your test case to a smaller (ie, smallest possible) size? Maybe just a TabContainer? with two tabs, a ContentPane? and an AccordionContainer?? Thanks!

Changed 12 years ago by guest

Attachment: test_LayoutContainer2.html added

comment:4 Changed 12 years ago by guest

Ok i have uploaded now the simplest possible test case. It is working if you have only one tab or the tab with the accordion ist the first one.

comment:5 Changed 12 years ago by bill

Resolution: duplicate
Status: newclosed

Thanks for that test case. That's right, it's an outstanding bug (#4169, #4263, #4758) that layout widgets (including AccordionContainer?) can't initialize in a hidden pane/node. If you want to make one of the tabs an AccordionContainer?, that will work fine, but if the tab is a ContentPan? that contains a 300px AccordionContainer?, that won't work.

Note: See TracTickets for help on using tickets.