Accordion item stay opened when another accordion item is opened

Created on 25 August 2023, 10 months ago
Updated 7 September 2023, 10 months ago

Problem/Motivation

Accordion item stay open when another accordion is opened

pattern-accordion-item.twig.php is unable to retrieve the parent accordion id to build data-bs-parent.

data-dto-parent is set on parent paragraph template, not on pattern-accordion-item

Proposed resolution

Preprocess accordion items paragraphs to pass accordion id to pattern accordion item

πŸ› Bug report
Status

Fixed

Version

5.0

Component

Code

Created by

πŸ‡«πŸ‡·France maboy

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024