Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#915 closed defect (fixed)

Accordion miscalculates it's own height

Reported by: [email protected] Owned by: Dustin Machi
Priority: high Milestone:
Component: Widgets Version: 0.3
Keywords: Cc:
Blocked By: Blocking:


A simple accordion with 2 panes and a set height miscalculates it's height.

The reason seems to be AccordionPange?.js:getCollapsedHeight - removing the +1 in that code fixes it. If the +1 is needed, setSizes needs to add one to the height variable for each pane.

Attachments (1)

accordion2.html (1.1 KB) - added by [email protected] 16 years ago.

Download all attachments as: .zip

Change History (5)

Changed 16 years ago by [email protected]

Attachment: accordion2.html added


comment:1 Changed 16 years ago by [email protected]

Working online testcase:

The reason this doesn't show on the official demos is that the accordion has a 2px border, which ends up hiding the bug.

comment:2 Changed 16 years ago by dylan

Milestone: 0.4
Owner: changed from anonymous to Dustin Machi

comment:3 Changed 16 years ago by bill

Resolution: fixed
Status: newclosed

Hi Doron, I've rewritten AccordionContainer?; this problem is gone now.

comment:4 Changed 15 years ago by (none)

Milestone: 0.4

Milestone 0.4 deleted

Note: See TracTickets for help on using tickets.