T
T
Toma2018-06-28 15:13:37
Bootstrap
Toma, 2018-06-28 15:13:37

Why doesn't React-Bootstrap Nav change class="active" on NavItem?

React project. I'm using react-bootstrap and react-router-bootstrap
I actually have a couple of questions:
1. In the ServicesContent file, when clicking on a NavItem, the highlighted menu item doesn't become active, Why?) How to fix it?
ServicesContent
LKnJa.png
2. In the Header file, if you use MenuLink, then Dropdown (when you click on the menu item) does not collapse. Why?) How to fix?
Header
yGVUM.png
MenuLink
cvOwG.png
I don't see any point in adding onSelect, otherwise why do we need React-Bootstrap js?
Repo here https://github.com/Tktenshi/og-mini

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question