I am developing a blazor application that has Sub-Menus in the NavMenu.razor page, these work fine but have introduced some issue that i need asssitance with:
How do I collapse a sub menu that is open when i click on another menu item?
How do I get the height of the NavMenu to always be the page height as a minimum or if scroll bars are introduced when you open sub menus to be that height, I tried setting the sidebar height in the site.css file to 100% but when all menu items in the Sidebar
are collapsed the NavMenu height is only 1/2 the page?
Member
8 Points
200 Posts
Blazor Collapse submenus
Jun 25, 2020 03:00 AM|Pztydr|LINK
Hi,
I am developing a blazor application that has Sub-Menus in the NavMenu.razor page, these work fine but have introduced some issue that i need asssitance with:
Content of the Navmenu is below:
Regards
Peter
Member
8 Points
200 Posts
Re: Blazor Collapse submenus
Jul 01, 2020 06:17 AM|Pztydr|LINK
Hi,
My issue has been resolved after implementing a version of AshProgHelp's "Load Menu & Sub Menu From Database in Blazor | Blazor Dynamic Menu"
If anyone is interested here's the link https://www.youtube.com/watch?reload=9&v=aGn3oYAmj4w
regards
Peter