Ticket #7335 (closed bug: fixed)

Opened 2 years ago

Last modified 2 years ago

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:
Blocking: Blocked by:

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

comment:1 Changed 2 years ago by scott.gonzalez

  • Status changed from new to open
  • Summary changed from Animation and padding problem after an empty section to Accordion: Incorrect size when a panel is empty

comment:2 Changed 2 years ago by scott.gonzalez

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

comment:3 Changed 2 years ago by kborchers

  • Status changed from open to closed
  • Resolution set to fixed

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.