Enhancement: do not incapacitate browser back button #69
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
Information
The glob-tool kind of abuses the browser history API. I suspect too many
pushState
calls (perhaps through a library like vue-router or caused by sync'ing the example options & input to the URL). As soon as one nagivates to https://do.co/glob-tool or the full URL https://www.digitalocean.com/community/tools/glob the browser back button is severely incapacitated as 8 history entries are added.Details
Steps to reproduce
Navigate to do.co/glob-tool or the full URL in any browser, then long-press the browser back button (in Firefox and Chromium this displays a list of the previous history entries).
Expected behavior
At most 1 or 2 history entries should be added. Perhaps possible to use
history.replaceState
The text was updated successfully, but these errors were encountered: