Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#915 closed defect (fixed)

Accordion miscalculates it's own height

Reported by: doronr@… Owned by: Dustin Machi
Priority: high Milestone:
Component: Widgets Version: 0.3
Keywords: Cc:
Blocked By: Blocking:

Description

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 doronr@… 13 years ago.
Testcase

Download all attachments as: .zip

Change History (5)

Changed 13 years ago by doronr@…

Attachment: accordion2.html added

Testcase

comment:1 Changed 13 years ago by doronr@…

Working online testcase: http://www.nexgenmedia.net/dojo/accordion2.html

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 13 years ago by dylan

Milestone: 0.4
Owner: changed from anonymous to Dustin Machi

comment:3 Changed 13 years ago by bill

Resolution: fixed
Status: newclosed

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

comment:4 Changed 12 years ago by (none)

Milestone: 0.4

Milestone 0.4 deleted

Note: See TracTickets for help on using tickets.