4 ms·
Who would want to use the browser’s back button to undo a state change… I had to press back 20 times
by tobyhinloopen 2y ago
Who would want to use the browser’s back button to undo a state change… I had to press back 20 times
- corytheboyd 2y agoAgreed, was very annoying, please don’t misuse history like that :(
- edemaine 2y agoI find the back/forward buttons useful for undoing/redoing changes, so that I don't lose past cool designs / settings, though I can see it being a controversial approach. That said, there were definitely way too much history generated when typing into a text field. I just implemented a planned compromise, where you only get a history event when changing a "committed" text field (meaning you previously defocused the field). Hopefully this is the best of both worlds!
- xd1936 2y agoRight-click the back button?
- tobyhinloopen 2y agoWhere’s the right click button on my phone
- wayvey 2y agoLong press
- TehCorwiz 2y agoBrowsers only display the last 10 - 20 states, so if you've been clicking around it quickly fills up with just this page.
- laszlokorte 2y agoWould be nice if browsers would group back button entries by: 1. same url except hash 2. same domain 3. rest
- phist_mcgee 2y agoSafari does this
- Wowfunhappy 2y agoI don't think it's on purpose, just a naïve consequence of using the URL for state.
- moritzwarhier 2y agoPretty common.
- mvf4z7 2y agoShould be replacing state in the history stack rather than pushing a new state.