New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Firefox rendering wrong URL #837
Comments
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? |
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:
You 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 |
Not yet, but there's an open issue remix-run/history#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?
The text was updated successfully, but these errors were encountered: