NO BUG: Bricks 2.0-alpha - All accordion items are open on page load

Browser: Chrome, Arc
OS: macOS

All accordion items are opened when the accordion items have a query loop.
i tried to change the Expand item indexes but nothing changes.

SCR-20250423-qiyb


Hi Yann,
Thanks so much for your report!

Unfortunately, I cannot reproduce the issue. Would you be so kind as to provide a live link?

Best regards,
timmse

Hi timmse,
Here’s the link : accordion
The dynamic data comes from a metabox cloneable froup in a settings page.

Let me know if you need admin access.

That’s not a bug. You set the content’s display value to flex, which interferes with the default display: block/ display: none behavior to show/hide the content.

If you need the content to be flex, add another div or block inside the content and set it to flex. This keeps the show/hide “logic” intact.

Best regards,
timmse

Many thanks Timmse,

Don’t know why but i could not get rid of the flex!
i had to copy the content block from a new accordion to get it working again.

it was working fine before i update to 2.0 beta

Thank you for the help.