Boostrap 5.3.3 Accordion Simply won't close (Angular)

Discussão em 'Angular' iniciado por William Benseny, Janeiro 24, 2025.

  1. I've been using Boostrap 5.3.3 since the very start of my project. Everything works fine, except for Accordion.

    I copy the exact same examples from the Docs, but they simply don't work as the demo.

    My Accordions REFUSE to close. They only open and that's it.

    I don't know if I'm missing something here, but there's not a single result in Stack Overflow that solves this issue. ChatGPT is useless in this moment, same thing.

    I only get to make this god damn According to actually collapse if I use this command on the DevTools new bootstrap.Collapse(document.getElementById('accordion-id-here')).toggle();

    Be aware, this implementation is directly from the docs.

    Page load, before clicking: [​IMG]

    After Clicking: [​IMG]

    Now, the goddamn 5.3.3 Notes also mention explicitly:

    - Fixed the accordion CSS selectors to avoid inheritance issues when nesting accordions.

    I don't know if they actually messed up but, come on, it's been out for 11 months already.

    Continue reading...

Compartilhe esta Página