[bs4] Accordion not working

Created on 6 April 2019, about 5 years ago
Updated 26 February 2023, over 1 year ago

Accordions not working with the barrio SASS Bootstrap Starter Kit Subtheme 8.x-1.7 (bootstrap 4 theme).
Stept to reproduce:
1-Create a brain new site with the barrio SASS Bootstrap Starter Kit Subtheme
2-enable paragraphs_bootstrap
3-Change body field of the page content type into a Entity reference revisions field
4-Add an accordion with 2 heading

Result: the accordions does not collapse or expand

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium DuneBL

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡―πŸ‡΄Jordan amneh.shawish Amman - Jordan

    I was facing this issue in [bs4].
    New Boostrap 4/5, you should update paragraph--bp-accordion.html.twig.
    The attributes are data-bs-toggle, data-bs-parent, and data-bs-target, pay attention to the -bs- in the middle.

  • First commit to issue fork.
  • πŸ‡¨πŸ‡¦Canada droddis

    Based on a quick test adding the -bs- to the attributes mentioned seems to have solved the issue.

Production build 0.69.0 2024