#915 closed defect (fixed)
Accordion miscalculates it's own height
Reported by: | 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)
Change History (5)
Changed 15 years ago by
Attachment: | accordion2.html added |
---|
comment:1 Changed 15 years ago by
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 15 years ago by
Milestone: | → 0.4 |
---|---|
Owner: | changed from anonymous to Dustin Machi |
comment:3 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Hi Doron, I've rewritten AccordionContainer?; this problem is gone now.
Note: See
TracTickets for help on using
tickets.
Testcase