Topic: Side-nav with hash routing

simetrio free asked 4 years ago


Hello!

I am try using "Slim side-nav" https://mdbootstrap.com/docs/react/navigation/sidenav/#slim To routing i use HashRouter from react-router-dom If i open page http://localhoat:3000/#/page/somepage/ and when click to maximized button on slim side-nav site redirect to url http://localhoat:3000/#!


Jakub Chmura staff answered 4 years ago


Hi @simetrio,

Ok, we see what's wrong with our component. We need to fix it and make a test. If everything goes ok the changes will come into effect soon.

Before we fix it, you can try to delete href from "minimalize"/"maximalize" element in MDBSideNavNav component. When you do this everything should work fine.

Best Regards, Kuba


simetrio free answered 4 years ago


Yes of course.

Here is example https://yadi.sk/d/OYBEUZKaP2ISUg


Jakub Chmura staff answered 4 years ago


Hi @simetrio,

Can I ask you to send us a little sample of your slim sidenav?

I really want to help but without sample code, I can't reproduce and test this issue.

Best Regards, Kuba



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: 4.21.0
  • Device: Computer
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: Yes