Opened 12 years ago

Closed 12 years ago

#7335 closed bug (fixed)

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

Change History (3)

comment:1 Changed 12 years ago by Scott González

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

comment:2 Changed 12 years ago by Scott González

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

comment:3 Changed 12 years ago by Kris Borchers

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

Note: See TracTickets for help on using tickets.