Too many Highlighted items on Panel Menu
Posted: 05 Feb 2020, 04:49
https://www.primefaces.org/primeng/#/panelmenu
https://github.com/primefaces/primeng/issues/6773
Hello,
When I copy the example on the Panel Menu demo page into my project, all the recently clicked menu items have the 'ui-state-active', which causes the row to be highlighted. The active state does not get removed unless the same menu item is clicked one more time.
This doesn't seem to be the behavior on the Panel Menu demo page, nor the Poseidon menus demo page ( https://www.primefaces.org/poseidon-ng/#/menus ).
It looks very ugly because clicking multiple menu items results in multiple rows being highlighted at once.
I am wondering if this is a side effect due to the github issue #6773 ?
I am on primeNG 8.1.1, with Poseidon 8.0.
Thank you.
https://github.com/primefaces/primeng/issues/6773
Hello,
When I copy the example on the Panel Menu demo page into my project, all the recently clicked menu items have the 'ui-state-active', which causes the row to be highlighted. The active state does not get removed unless the same menu item is clicked one more time.
This doesn't seem to be the behavior on the Panel Menu demo page, nor the Poseidon menus demo page ( https://www.primefaces.org/poseidon-ng/#/menus ).
It looks very ugly because clicking multiple menu items results in multiple rows being highlighted at once.
I am wondering if this is a side effect due to the github issue #6773 ?
I am on primeNG 8.1.1, with Poseidon 8.0.
Thank you.