Hi! In SideNav, when the user navigates to a view which is in the menu, the parent item is expanded. How can I avoid that? I want to have control of what is expanded and when.
Hi Bruno!
That behavior is hard-coded at the moment: web-components/packages/side-nav/src/vaadin-side-nav-item.js at main · vaadin/web-components · GitHub
I suppose the only workaround is to override the JS logic of each nav item so that they don’t expand their parent items when they become active.
I’d open a new issue for this in GitHub: GitHub · Where software is built
2 Likes