:):)With your Startkit blazor demo
i create new menu item (single menu) counter and set page href="/counter" for menu-link. when i click on the link it gives below error and menu behavior working stopped
error detail
[2022-11-23T12:22:02.746Z] Error: Microsoft.JSInterop.JSException: Cannot read properties of undefined (reading 'closest')
TypeError: Cannot read properties of undefined (reading 'closest')
at _getItemParentElement (http://localhost:5170/assets/js/scripts.bundle.js:2439:24)
at _getItemParentElements (http://localhost:5170/assets/js/scripts.bundle.js:2460:22)
at _setActiveLink (http://localhost:5170/assets/js/scripts.bundle.js:2752:27)
at KTMenu.the.setActiveLink (http://localhost:5170/assets/js/scripts.bundle.js:2907:16)
at KTMenu.updateByLinkAttribute (http://localhost:5170/assets/js/scripts.bundle.js:3158:26)
at http://localhost:5170/_framework/blazor.server.js:1:3501
at new Promise (
Hi,
Could you please attach the code of your menu element?
Regards,
Lauris Stepanovs,
Keenthemes Support Team