Side-nav with hash routing


Topic: Side-nav with hash routing

simetrio pro premium asked 10 months 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 10 months 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 pro premium answered 10 months ago

Yes of course.

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


Jakub Chmura staff premium answered 10 months 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.
Status

Answered

Specification of the issue
  • User: Pro
  • Premium support: Yes
  • Technology: React
  • MDB Version: 4.21.0
  • Device: Computer
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: Yes
Tags