-
-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Better documentation on simple Menu List #198
Comments
Spiderpig86
added a commit
that referenced
this issue
Oct 22, 2023
…o support nested lists, expand list stylings to child divs and spans first children only #198
Spiderpig86
added a commit
that referenced
this issue
Oct 22, 2023
…plying list stylings to child link to support nested lists, expand list stylings to child divs and spans first children only #198
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The doc on https://cirrus-ui.netlify.app/elements/lists#menus has a demo with simple menu list, but no code example is given. When I try this, it's surprised me that what's described is not enough to get the selected row to be highlighted.
What I mean is the following will not have selected item displayed:
User must use
<a>
to see the selected usage. I suggest either documentation should mention this, or better yet, make<a>
not a requirement, so user can use<span>
or<div>
in case where the menu item does not go to another page url, but simply handle user click event.The text was updated successfully, but these errors were encountered: