Menubar: Highlight parent(s) of currently active menu item link
I'm submitting a ... (check one with "x")
[ ] bug report => Search github for a similar issue or PR before submitting
[X] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primeng/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=35
What is the motivation / use case for changing the behavior? Actually, when a sub menu item is active and highlighted in the menubar, its parent is not highlighted so there is no way to see if something selected. It would be nice to have the possibility to also highlight the parent(s) of the currently selected menu item link. This would give the user a clue on which item they have selected (or on which page / route they are actually).
it would be great if there was a toggle option to make the parent item not actually route when clicked.
disabling prevents the child items from appearing. removing the routerLink removes the "active" class if a child item is active.
Is there any news? This feature would improve the menubar a lot.
+1 for this enhancement!
Hi,
So sorry for the delayed response! Improvements have been made to many components recently, both in terms of performance and enhancement. Therefore, this improvement may have been developed in another issue ticket without realizing it. You can check this in the documentation. If there is no improvement on this, can you reopen the issue so we can include it in our roadmap? Please don't forget to add your feedback as a comment after reopening the issue. These will be taken into account by us and will contribute to the development of this feature. Thanks a lot for your understanding!
Best Regards,
This feature is still not available on the latest version of PrimeNg. When can we expect an option to set the parent as active when a children is active ?