Opened 15 years ago

Closed 15 years ago

Last modified 12 years ago

#1953 closed defect (fixed)

Tree inside Accordion causes odd layout problems

Reported by: joose Owned by: Adam Peller
Priority: high Milestone: 0.9
Component: Dijit Version: 0.4
Keywords: AccordionContainer, Tree Cc:
Blocked By: Blocking:



I don't know what is the problem with AccordionContainer? and Tree, but when adding new nodes to Tree, it does not update the "size" of the tree box. I took a screenshot of it:

This is only problem with FF, not with Opera/Safari?/IE.

If I call accordion.onResized(); it does not fix it. BUT, I push the button or move SplitPane? or click on menu item.. it fixes it. Odd problem. Tried to track it down, but I was not able.

Using latest trunk. Tree is not TreeV3 tree.

Change History (7)

comment:1 Changed 15 years ago by joose

And, when removing nodes, it does not "resize" back to smaller, until user does something, like moves SplitContainer?

comment:2 Changed 15 years ago by bill

As usual, we need a testcase.

comment:3 Changed 15 years ago by bill


Joose is working on a testcase but he hasn't been able to reproduce the problem in a testcase yet. (The testcase he wrote works correctly.) This seems like a corner-case bug; I'm gonna move it to 0.5

comment:4 Changed 15 years ago by brian duchek

There's a testcase built into the last release that exhibits this problem. Broken: Works:

There's something about how the height of the overall tree is being calculated when the nodes are inserted/shown via the "wipe" method that's preventing it from expanding vertically. If you use a different toggle method, then it's not a problem.

comment:5 Changed 15 years ago by Adam Peller

Component: WidgetsDijit
Owner: changed from bill to koranteng

comment:6 Changed 15 years ago by Adam Peller

Owner: changed from koranteng to Adam Peller

Sorry, this one got stale again. Joose, do you know if this is still an issue? Can you provide a test case?

comment:7 Changed 15 years ago by Adam Peller

Resolution: fixed
Status: newclosed

ok, in theme tester, if you expand the tree nodes fully, it's enough to cause a scrollbar in the accordion pane, and it works ok. Is that what you meant? Both Tree and Accordion have been rewritten in 0.9.

Note: See TracTickets for help on using tickets.