cljs / site

ClojureScript API site and Dash docset generator
http://cljs.github.io
3 stars 3 forks source link

Link routing gets stuck on first link #29

Open hiteshjasani opened 6 years ago

hiteshjasani commented 6 years ago

I'm seeing a bug that makes it difficult to use the API docs. If you visit a link, hit the back button and then try to visit a different link, it will navigate back to the first link. It seems to get stuck on the first link you visit.

to reproduce:

  1. In Safari navigate to http://cljs.github.io/api/
  2. Scroll down and click on Special Symbols: true link. Browser navigates to http://cljs.github.io/api/syntax/#true as expected.
  3. Hit the back button
  4. Click on the Literals: number literal link. Expecting browser to navigate to http://cljs.github.io/api/syntax#number but instead goes back to http://cljs.github.io/api/syntax/#true.
  5. Clicking other links produces the same behavior -- it keeps navigating back to the docs for true.

I saw this is on MacOS Sierra 10.12.6 with Safari 11.0.3.

shaunlebron commented 6 years ago

wow, that's weird. was able to reproduce in safari.

tried to create a minimal case for the problem, but it failed to reproduce: