Skip to main content

Search and Top Navigation

#7335 closed bug (fixed)

Opened May 06, 2011 02:21PM UTC

Closed May 18, 2011 02:55PM UTC

Accordion: Incorrect size when a panel is empty

Reported by: ergec Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.accordion Version: 1.8.12
Keywords: Cc:
Blocked by: Blocking:
Description

http://jsbin.com/eroti5/edit

In this example if you open Section 1 or Section 2 or Section 4 animation and padding works ok but if you open Section 3 which is empty then the next section you open is having issues with top padding and animation

Attachments (0)
Change History (3)

Changed May 06, 2011 04:59PM UTC by scottgonzalez comment:1

status: newopen
summary: Animation and padding problem after an empty sectionAccordion: Incorrect size when a panel is empty

Changed May 11, 2011 01:09PM UTC by scottgonzalez comment:2

kborchers tracked down a solution of ensuring that the height is never set to 0 for the animation.

Changed May 18, 2011 02:55PM UTC by kborchers comment:3

resolution: → fixed
status: openclosed

Accordion: Added check to not allow 0 height on empty panels causing height issues on non-empty panels. Fixed #7335 - Accordion: Incorrect size when a panel is empty

Changeset: 4ff8d90a825f8335a4dbc8df2539fa08a3fe0add