Skip to content
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

docs: Add notes about NavLink key behavior #6793

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

tjb042
Copy link

@tjb042 tjb042 commented Apr 6, 2024

Just ran into the issue outlined in PR #6654 and wanted to add an explicit note about it to the API docs to both Navbar and NavLink

@tjb042 tjb042 changed the title docs: Add explicit notes about NavLink key behavior docs: Add notes about NavLink key behavior Apr 6, 2024
@@ -109,6 +109,9 @@ const propTypes = {
* Toggles `expanded` to `false` after the onSelect event of a descendant of a
* child `<Nav>` fires. Does nothing if no `<Nav>` or `<Nav>` descendants exist.
*
* `<NavLink>` descentants of `<Nav>` will not trigger the onSelect event unless
Copy link
Member

@kyletsang kyletsang Apr 19, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* `<NavLink>` descentants of `<Nav>` will not trigger the onSelect event unless
* `<NavLink>` descendants of `<Nav>` will not trigger the `onSelect` event unless

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants