Problem/Motivation

Currently all the accordions are closed by default. We need to be able to choose the appearance of an accordion (expanded or not) on page load.

Proposed resolution

Add an option to configure the default state of an accordion in the pattern settings.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

spryah created an issue. See original summary.

spryah’s picture

Title: Add an option to configure the default state of an accordion » Add an option to configure the state of an accordion on page load
Issue summary: View changes

Edited title and summary.

spryah’s picture

Status: Active » Needs review
pdureau’s picture

Title: Add an option to configure the state of an accordion on page load » [beta4] Add an option to configure the state of an accordion on page load
Assigned: Unassigned » pdureau
Status: Needs review » Needs work

great. thanks

I need to rebase it locally before merge

  • pdureau committed 4377a0b2 on 1.0.x authored by spryah
    Issue #3381923 by spryah: add "expanded" boolean option on accordion...
pdureau’s picture

Assigned: pdureau » Unassigned
Status: Needs work » Fixed

merged

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.