Skip to content

Blazor Web App Template NavMenu Component is Missing Render Attribute - Click Events Do Not Get Fired #50028

@vsfeedback

Description

@vsfeedback

This issue has been moved from a ticket on Developer Community.


I was using the 'Blazor Server App' template before, but now discovered the 'Blazor Web App' template.
When testing my new app, I noticed that the ToggleNavMenu click event was not getting fired in the NavMenu component.

On a whim, I decided to add the @Attribute [RenderModeServer] to the NavMenu component. When I did then the click events started to fire.

Is that the render mode I should be using for the NavMenu - if not, what do you recommend?


Original Comments

(no comments)


Original Solutions

(no solutions)

Metadata

Metadata

Labels

Author: Migration Bot 🤖The issue was created by a issue mover bot. The author may not be the actual author.area-blazorIncludes: Blazor, Razor ComponentsbugThis issue describes a behavior which is not expected - a bug.feature-full-stack-web-uiFull stack web UI with Blazorfeature-templates

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions