-
Notifications
You must be signed in to change notification settings - Fork 1.2k
[Navigation.Item] Support selected prop for navigation items without url #4375
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
Conversation
|
👋 Thanks for opening your first pull request. A contributor should give feedback soon. If you haven’t already, please check out the contributing guidelines. |
4e1ca82 to
140f125
Compare
AndrewMusgrave
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome work 🎉
|
It looks like the check may have stalled. If you push up your branch again they should re-run |
Update UNRELEASED.md
140f125 to
40ff793
Compare
|
Rebased and pushed. Hope all checks run this time. |
size-limit report
|
|
Github had degraded services yesterday, but it looks like everything is running now 🙌 |
|
🎉 Thanks for your contribution to Polaris React! |
- Support selected prop for navigation items without url - Update UNRELEASED.md
- Support selected prop for navigation items without url - Update UNRELEASED.md
- Support selected prop for navigation items without url - Update UNRELEASED.md
* Support selected prop for navigation items without url (#4375) - Support selected prop for navigation items without url - Update UNRELEASED.md * Allow subnav items to execute provided onClick handlers * Update UNRELEASED.md * Update tests to reflect number of called times * Removed outdated bug fix that is now in main Co-authored-by: Marcel Bensch <mbensch@users.noreply.github.com>
WHY are these changes introduced?
Fixes #4244
Passing the
selectedprop toNavigation.Itemhad no effect if theurlprop was omitted.WHAT is this pull request doing?
Adds
Item-selectedclassname for items withouturlwhenselectedprop is true.