Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Nested accordion elements #9

Open
ChristopherSchulz94 opened this issue Jul 25, 2022 · 3 comments
Open

Bug: Nested accordion elements #9

ChristopherSchulz94 opened this issue Jul 25, 2022 · 3 comments

Comments

@ChristopherSchulz94
Copy link

System:

  • TYPO3 version: 11.5.13
  • PHP version: 7.4.6
  • Extension version: 3.1.0

When I want to nest several accordion elements, there is a problem in the frontend. As soon as I open the first accordion and try to open the second one, the complete second accordion disappears.

@buepro
Copy link
Owner

buepro commented Aug 22, 2022

Thank you for this information. Did you test once if bootstrap supports it?

@klodeckl
Copy link

Same here. Bootstrap supports it, see: https://codepen.io/WinterSilence/pen/abpopXa?editors=1010
I already had it working with gridelements. It seems to be javascript related?

@klodeckl
Copy link

When deleting data-bs-parent="#accordion-{data.uid}" from div class="accordion-collapse" it works. But I don’t know why, it should also work with data-bs-parent (see codepen example above). Any idea?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants