You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HI @rust-jvm-go
actually activeClass is a string not a boolean (my mistake in the docs) , what it does is that in applies a custom class name to the menu item when the menu item is active , meaning that the menu item MUST have an href to have an activecalss.
now the only way to to make non-href items use "selected" style when clicked is to handle it with event listener and update the menu list .
i am gonna add a feature for this and let you know when its done :))
my schedule is pretty busy ,but i should be up in a few days.
Hello,
I have a menu item that is not an "href", and when clicked it doesn't change to the "selected" appearance.
I have tried setting
activeClass = true
but to no avail.I think this is related to this:
how to programmatically decide if a menu item is selected or not
How to make non-href items use "selected" style when clicked?
The text was updated successfully, but these errors were encountered: