havit / Havit.Blazor

Free Bootstrap 5 components for ASP.NET Blazor + optional enterprise-level stack for Blazor development (gRPC code-first, layered architecture, localization, auth, ...)
https://havit.blazor.eu
MIT License
477 stars 67 forks source link

[HxAccordion] [Possible Bug] Accordion Collapses When It Should Stay Open #708

Closed alexax578 closed 8 months ago

alexax578 commented 9 months ago

Resolves: #685

I believe the issue was caused by HxAccordion attempting to manually control the show CSS class on HxCollapse which is used to hide the element when not present instead of relying on HxCollapse to manage it on it's own. (It is likely that the InitiallyExpanded parameter did not exist on HxCollapse at the time.)