Opened 9 years ago

Closed 9 years ago

#6162 closed feature (wontfix)

Accordion: Allow fillSpace to work when the accordion has siblings

Reported by: ddegasperi Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.accordion Version: 1.8.5
Keywords: Cc:
Blocked by: Blocking:

Description (last modified by Scott González)

fillSpace currently assumes that the accordion is the only child of its parent. It should allow for siblings to take up space within the parent as well. The calculation should also account for any hidden headers.

Change History (2)

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

Description: modified (diff)
Milestone: TBD1.9
Summary: Accordion: fillSpace has wrong maxHeight calculationAccordion: Allow fillSpace to work when the accordion has siblings
Type: bugfeature

This is functioning as designed. The documentation for fillSpace says, "If set, the accordion completely fills the height of the parent element. Overrides autoheight." This assumes that the accordion is the only child of the parent.

However, allowing for other children seems reasonable, so I'm changing this to a feature request.

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

Resolution: wontfix
Status: newclosed

We don't want to build this in to the accordion. This could be accomplished by creating a new flexbox plugin which expands to the available height and then placing an accordion inside that.

Note: See TracTickets for help on using tickets.