3 ms·
Which part breaks your back button?
by candiddevmike 6y ago
Which part breaks your back button?
- vmception 6y agoon ios safari when I click that link, and then swipe back or press back, instead of showing me this hackernews thread it shows me that site again
- ceejayoz 6y agoOn my browser (Firefox, on OSX) it loads /loading then /login. When I go back, that takes me back to /loading, which forwards me to /login again immediately. Going back requires holding down the back button so I can skip that history record. Illustrated: https://imgur.com/a/zFaGw4a https://imgur.com/a/zFaGw4a (Quite a few sites screw this up. It's very annoying.)
- candiddevmike 6y agoThis is great, thank you for sharing. We primarily test in Chrome which doesn't seem to display this for whatever reason. Should be an easy fix to remove the history for the loading page.
- ceejayoz 6y agoFor what it's worth, the same happens in my Chrome. (Maybe you're logged in and don't get the behavior because of that?)
- candiddevmike 6y agoShould be fixed now if you want to try again :)
- mercer 6y agoI like how this whole thread highlights just one of the problems of SPA's. It's not exactly an endorsement!