Closed agundermann closed 9 years ago
I'm on Firefox and cannot reproduce this issue.
Working fine for me on FF 35.0.1
That's weird. I tried it on several machines (all windows though) and all of them were affected.
Here's a gif: http://i.giphy.com/AxVvjHQiDubQvpgcJW.gif
Are you sure that doesn't happen on your machines?
Its an illusive bugger, but check out this out.
Just upgraded to FF 36 on OSX Yosemite.
but FF dev ed 37.0a2
37.0a2 here on OS X as well, but all working fine.
@taurose I can't reproduce this either, let me know if you track it down, closing until then.
Still an issue (FF 38.0.5, Windows 8). Not sure why you can't reproduce this. Maybe the URL bar thing isn't consistent across platforms. Try this:
Ryan Florence
at the top to leave the appYou should see the contact rendered, but the URL of the index page.
As far as I can tell BFCache is the problem. It caches the whole DOM of the app at the state it was left, but then restores it even if we reenter at a different URL. And popstate/hashchange doesn't fire, so the app can't catch up.
As explained in the link above, I think we'd have to listen to some extra event. We can also suppress the cache, but would be nice to take advantage of it.
ping @taurose, do you know if this is resolved on master?
closing, I think history
fixed this stuff, please reopen if I'm wrong.
Not yet, but there's an open issue https://github.com/rackt/history/issues/34
Steps to reproduce:
Expected: URL path and content match up (either root or contact) Actual: URL path is '/', but contact is rendered
Not sure about other browsers.
Apparently, this is due to browser back forward caching which can be disabled with
window.unload = function() { }
Is this worth documenting or even fixing?