devote / HTML5-History-API

HTML5 History API expansion for browsers not supporting pushState, replaceState
http://spb-piksel.ru
MIT License
1.02k stars 182 forks source link

Issue on IE11 with hash URL that State never reset to null after setting it for any URL #100

Open shahjeet297 opened 8 years ago

shahjeet297 commented 8 years ago

IN IE11 there is an issue that 'popstate' not fired with hashchange so if you are working with hash URL's then history API works incorrectly and CheckforURLupdate always empty in such cases and 'popstate' not fired.

scenario: add state to url 'localhost#page1' and navigate to 'localhost#page2' the state added at first url will be available on second as well.

you can check it here: http://codepen.io/Fyrd/pen/wBVGjK

mveer-agarwal commented 6 years ago

I have added my file over the URL

https://github.com/mveer-agarwal/history.js/pull/1