Closed khoreftis564 closed 3 years ago
Hello there, @khoreftis564 ,
We'll add this in our next update.
Best, Manu
@khoreftis564 were you able to find a fix for this, by any chance?
@EINazare hey, any update on this? thanks in advance.
Hello there, @ntanwir ,
At the moment we are stuck on some other projects, and did not have time for an update here.
We're going to start updating all of our React products starting with December this year. We just learned that React has changed from v16+ to v17+, and we want to make a clean update with the new React version. This means that we are going to have breaking changes, for example, react-google-maps
will no longer be used, since it had some warnings in React v16+, warnings that in React v17+ will throw errors.
I think we will reach an update for this product somewhere in late January 2021.
Best, Manu
Version
1.1.0
Reproduction link
https://github.com/khoreftis564/react-black-pro-issue
Operating System
macOS Catalina 10.15.3
Device
Late 2018 Mac Mini A1993
Browser & Version
Chrome 81.0.4044.138
Steps to reproduce
What is expected?
Only the active page that you are on should be showing as active.
What is actually happening?
All of the child pages under the multi-level collapse are showing as active regardless of which page you are on. In my example either income statement or balance sheet both will have an active indicator next to them.
Solution
Modify the activeRoute function in sidebar.js on line 141 to only show the active page under a multi-level collapse.
Additional comments
Image and code are in the attached repo and a description has been added to the repo's readme