Hi,
When navigating to a route,the menu is not selected. IT works on the demo.
Any ideas why it contracts the menu after navigating to the component?
Menu Not Selected
Forum rules
Please note that response time for technical support is within 3-5 business days.
Please note that response time for technical support is within 3-5 business days.
Hi,
Could you check your code includes the below part?
Also, you need constructor and menuService part because they provide correctly menu item select
Could you check your code includes the below part?
Code: Select all
updateActiveStateFromRoute() {
this.active = this.router.isActive(this.item.routerLink[0], !this.item.items);
}
-
- Information
-
Who is online
Users browsing this forum: No registered users and 2 guests