Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@sohkai
Copy link
Contributor

@sohkai sohkai commented Jun 17, 2016

Fixes a number of quirks from react-bootstrap's navigation modules:

  • Dropdown buttons not collapsing after selecting an item
  • Page refreshes occurring when navigating with a dropdown item
  • Mobile navigation bar not collapsing when selecting an item

Brett Sun added 18 commits June 16, 2016 15:52
… down to MenuItems

React-bootstrap Dropdowns expect that passed down props will reach
their MenuItems in order for event callbacks to be triggered (ie. auto
closing the dropdown on select).
Controlling the expanded state allows us to close the collapse after
items are selected (as recommended by react-bootstrap maintainers).

Also makes changes to the nav components to pass through props
(required by react-bootstrap to correctly wire everything together).
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.

4 participants