jquery-stickytabs icon indicating copy to clipboard operation
jquery-stickytabs copied to clipboard

Doesn't seem to work in a React application using HashRouter from react-router-dom

Open mchiocca opened this issue 7 years ago • 0 comments

When I use HashRouter from react-router-dom in my React application, the calculation of the URL doesn't seem to correct. For example, If I'm on https://localhost/#/foo/bar and I click a tab on that page, I expect the URL to change to this, https://localhost/#/foo/bar#tab. However, the plugin changes the URL to something like https://localhost#tab so I've lost /#/foo/bar from the URL. Then, using the back and forward buttons to navigate won't work correctly.

mchiocca avatar Feb 23 '18 21:02 mchiocca