Accordion updates all arrows on click (OSOE-339)
devlife opened this issue · 7 comments
When clicking a single arrow/header, the correct item is expanded, but the arrows of all of the items are toggled.
I can take a stab at a fix if you can tell me how to override the cshtml file. I tried /Views/Shared/BootstrapAccordion.cshtml
and /Views/Lombiq.HelpfulExtensions/BootstrapAccordion.cshtml
but neither of those worked.
Thank you! BootstrapAccordion
is a shape with its shape template, so just Views/BootstrapAccordion.cshtml should work.
@Piedone My front end engineer updated the accordion to work with bootstrap 5. Do you want me to push a PR with those changes or just close this issue?
Hmm, it should already work with it, specifically, Bootstrap 5.1.3. But please do and we'll see. (Actually, a Bootstrap reference seems to be missing from the shape.)
Ok I'll create a PR for it in the next few days and we can see what you think.
Thanks!
Would you like to circle back to this?