-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Navigation component: Ensure setActiveMenu target exist #25367
Conversation
Size Change: +15 B (0%) Total Size: 1.2 MB
ℹ️ View Unchanged
|
Heads up: we are removing the internal You can read more about it here: #25281 (comment). tl;dr |
1e266a4
to
f31277c
Compare
9ef52f5
to
e4e5943
Compare
@david-szabo97 Make sure to rebase and update the PR title and description ( |
f90d681
to
7afed17
Compare
Rebased again, should be good now |
Fixes: #25249
Depends on: #25340
Description
Check if the target of
setActiveMenu
exists.How has this been tested?
yarn storybook:dev
Added a new item in the menu called
Navigate to a non-existing menu
, when clicking this nothing should happen. Without the changes though, the whole navigation menu would disappear.Types of changes
Bug fix (non-breaking change which fixes an issue)
Checklist: