You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
sajadkardel
changed the title
fix: the 'OnAction' event is incorrectly fired on the first render of 'FluentNavMenu'
fix: The OnAction event is incorrectly fired on the first render of FluentNavMenuSep 28, 2023
Please supply proper repo steps. We can't work from an image...
Sure. Sorry for the lack of information. I’m currently working on this repo and wanted to create a responsive NavMenu. For example, when the screen size is mobile, the menu should be closed after selecting one of the items…
I noticed that after selecting each item (or changing the address), the first menu item is selected automatically. This changes the address and re-fires the OnAction event.
You can try it out on NavMenu.razor in ...\HiCode.Blog\Client\HC.Web\Shared\NavMenu.razor.
(For now, I have stopped using the OnAction event and have implemented a responsive NavMenu using the OnLocationChanged event.)
The text was updated successfully, but these errors were encountered: