Skip to main content

Search and Top Navigation

#4560 closed feature (wontfix)

Opened May 28, 2009 03:06PM UTC

Closed July 12, 2010 01:23PM UTC

Last modified October 03, 2012 05:06PM UTC

Investigate the technical requirements of allowing multiple sections open at once

Reported by: jzaefferer Owned by:
Priority: trivial Milestone: 1.8
Component: ui.accordion Version: 1.7
Keywords: Cc:
Blocked by: Blocking:
Description

The accordion goes through great lengths restricting it to just one open panel. Having a seperate widget to enable that isn't really desirable.

We need at least investigate if multiple open panels are feasible.

Maybe a base component can implement behaviour of both widgets, and the current accordion would then add its special behaviour on top.

Attachments (0)
Change History (3)

Changed November 19, 2009 06:57PM UTC by sesopenko comment:1

Multiple open panels is definitely feasible. I inspected the code of _clickHandler() and the logic of opening active panels & closing others is within there.

We could check for an option allowing multiple open panels (maybe multipleOpen).

What option would enable this and we would have to decide how it interacts with the collapsible option. We could allow an extra value for collapsible, "multi" for instance. It could be a little confusing however because it's not technically "multi collapsible" but "multi openable". If it were a new option, it could override collapsible. I don't know what to title the option.

On another note, these are some reasons you may want to allow multiple panes to be visible at a time:

  • Detail panes provide context for one another
  • The vertical height of the accordion area is not fixed
  • Different panels of content may be different heights

(from __Designing Web Interfaces__ by Bill Scott & Theresa Neil. Published by O'Reilly 2009)

We could leave it to the user to disable autoHeight & enable clearStyle in order for the design pattern outlined above to be followed or force it upon them.

I'll start working on this and submit some code for review when I'm finished.

Changed July 12, 2010 01:23PM UTC by scottgonzalez comment:2

resolution: → wontfix
status: newclosed

This will be handled by a separate plugin.

Changed October 03, 2012 05:06PM UTC by scottgonzalez comment:3

milestone: 1.next1.8