Skip to content
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

Clicking on the back button after creating a new document will create another document #316

Open
jimpick opened this issue Apr 25, 2019 · 2 comments

Comments

@jimpick
Copy link
Member

jimpick commented Apr 25, 2019

Because the new root url redirects to a new document, going back will create a new document.

We probably need to manage history better.

Perhaps we shouldn't create a new document without user interaction, as it is a bit surprising.

@parkan
Copy link
Collaborator

parkan commented May 8, 2019

the simplest solution here is to use history.replaceState so there's no "back" history entry to go back to

@parkan
Copy link
Collaborator

parkan commented May 8, 2019

reworking history handling will also affect #311

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants