Skip to main content

Bug Tracker

Side navigation

#2126 closed bug (fixed)

Opened January 08, 2008 05:37PM UTC

Closed January 11, 2008 05:58PM UTC

Last modified March 15, 2012 09:34AM UTC

autoheight: false bug in nested accordions

Reported by: scottgonzalez Owned by: paul
Priority: major Milestone: 1.2.2
Component: ui Version: 1.2.1
Keywords: accordion Cc:
Blocked by: Blocking:
Description

With nested accordions, certain combinations of opening/closing content panes cause problems when autoheight is set to false.

See http://www.scottsplayground.com/temp/nested_accordions/ for an example with instructions on how to re-create the problem.

Attachments (1)
Change History (5)

Changed January 08, 2008 09:44PM UTC by scott.gonzal comment:1

This is caused by setting the height explicitly in the slide animation ($.ui.accordion.animations.slide). Looking at previous revisions, it looks like the clearStyle option used to exist to fix this problem.

Changed January 11, 2008 01:58PM UTC by joern comment:2

ui.accordion.js was out-of-sync with jquery.accordion.js - I'm still maintaining both until UI gets a stable release. The clearStyle option is now also available via ui.accordion.js.

This helps with nested accordions (which were never meant to be supported), though the third issue ([IE] Open/close 1a. Notice that the nested accordion does not show/hide properly.) still remains.

Changed January 11, 2008 02:14PM UTC by joern comment:3

resolution: → fixed
status: newclosed

Fixed in [4419].

Changed January 11, 2008 03:51PM UTC by scott.gonzal comment:4

resolution: fixed
status: closedreopened

[4419] didn't fix the problem; I've attached a patch.

Changed January 11, 2008 05:58PM UTC by joern comment:5

resolution: → fixed
status: reopenedclosed

Applied the patch in [4424].