Side-nav with hash routing


Topic: Side-nav with hash routing

simetrio asked 5 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 premium answered 5 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


simetrio answered 5 years ago

Yes of course.

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


Jakub Chmura staff premium answered 5 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


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
  • User: 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
Tags