Opened 14 years ago

Closed 14 years ago

#4309 closed defect (invalid)

Accordion inside split pane has trouble expanding

Reported by: guest Owned by:
Priority: high Milestone:
Component: Dijit Version: 0.9
Keywords: accordion, expand Cc:
Blocked By: Blocking:


Inside the split pane (and then several dom nodes down) I created an accordion programmatically. It displays the titles fine, but the height of selected nodes is set to 0px somehow. I took that same accordion, and instead of attaching it inside the split pane, just appended it to the body, where it worked fine.

Change History (3)

comment:1 Changed 14 years ago by bill

You'll need to attach a test case before we look at this (or any other) bug.

comment:2 Changed 14 years ago by guest

Ok, I had widget nesting: SplitContainer? -> ContentPane? -> View (see below) -> Accordion

View was [_Widget, _Templated, Container]. It appears that the Container screwed up the accordion. I don't totally understand Container, so I may have just been using it wrong. I removed that mixin and it now works fine. Sorry for the false alarm.

comment:3 Changed 14 years ago by bill

Resolution: invalid
Status: newclosed

It sounds like you should first get rid of the intermediate ContentPane?, and then make your View widget extend LayoutContainer?. Although I'm not sure what your view widget is doing exactly.

Note: See TracTickets for help on using tickets.