-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
BugSomething is broken and not working as intended in the system.Something is broken and not working as intended in the system.
Description
Issue summary
selected prop for <Navigation.Item /> component is not working if url prop is not provided.
Expected behavior
Since it is not written in the doc that the url prop is required, using the selected prop without it should work just fine.
I wanted to use the onClick prop to handle my routing, combined with the selected prop for the UI, but it is not possible.
Actual behavior
If you use selected without url, the selected is totally ignored.
fraank and camelmasa
Metadata
Metadata
Assignees
Labels
BugSomething is broken and not working as intended in the system.Something is broken and not working as intended in the system.