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
475 stars 66 forks source link

[HxAccordion] Accordion not closing when setting rendermode InteractiveServer in <Routes /> component #762

Closed AlexGallego7 closed 3 months ago

AlexGallego7 commented 6 months ago

I'm working with a .NET 8 Blazor Server App. I need to set the render mode InteractiveServer in the Routes component but at the time of implementing this, the HxAccordion opens itself fine but does not close when clicking again.

<Routes @rendermode="InteractiveServer" />

I have also tried to turn off the pre-render with:

<Routes @rendermode="new InteractiveServerRenderMode(prerender: false)" />

but this seems to make the bootstrap css to disappear.

Is this a known issue or am I just missing something?

Thanks in advance!

hakenr commented 5 months ago

@AlexGallego7 I'm not able to reproduce the issue. Can you provide us with a simple reproduction repro, where I can see the issue?

AlexGallego7 commented 3 months ago

My mistake, there were hidden references to different versions of bootstrap which caused strange issues. Closing this one.