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

Spinner is persistent even if user cancels the new post action #43

Open
bacoords opened this issue Apr 27, 2024 · 0 comments
Open

Spinner is persistent even if user cancels the new post action #43

bacoords opened this issue Apr 27, 2024 · 0 comments

Comments

@bacoords
Copy link

Because "add new post" triggers a link in the same window, if you have unsaved changes in your post, the browser will pop-up a confirmation before you leave. If you cancel and choose not to go to the new post screen, you come back to the editor, but the spinner is still spinning.

Possible options:

  • Open new post in new window? (confirm about A11y)
  • Check block editor data store for unsaved changes and disable button?
  • Remove the spinner for the basic 'add new post' button, since it might not really need it.
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

1 participant