Skip to content

Layout with side menu collapse not working for web assembly in .net 8 #6759

@tippers424

Description

@tippers424

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

I have the collapse working for a server type project, I set to the rendermode for HeadOutlet and Routes in App.razor to RenderMode.InteractiveServer.

With a web assembly project the tooltip and JS doesn't work on the collapse button. When I set the rendermode to RendorMode.InteractiveWebAssembly I get errors with not finding routes in the client project.

Expected Behavior

For the user to be able to collapse the side menu in a web assembly project in .net 8.

Interactive render mode

Interactive WebAssembly (Client-side rendering (CSR) using Blazor WebAssembly)

Steps To Reproduce

https://github.com/tippers424/BootstrapBlazor--Layout-issue-demo

Exceptions (if any)

No response

.NET Version

NET8.0

Anything else?

No response

Metadata

Metadata

Assignees

Labels

questionQuestion that needs to be answered

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions