Skip to content

Post-publish "are you sure" message makes me anxious about whether my changes are save or not #3319

Closed

Description

Gutenberg version: 1.6.1
WP version: trunk
Other plugins active: Debug Bar, Debug Bar Console

Steps to Reproduce (for bugs)

  1. Create a new post
  2. Enter a title and some body text (paragraph block, for example)
  3. Click the publish button once, then again to confirm

Tested with latest Chrome and Safari 11.0.1 on OS X 10.12.6.

Expected Behavior

I'd expect to not see a warning about unsaved changes after publishing the post. When I next click to close the tab or go to a different link from within the tab I expect it to work correctly.

Current Behavior

When I published the post, and tried to click to close the tab — I was blocked by the infamous AYS alert message like we have in Calypso a lot! (CC @aduth) — “Are you sure you want to leave this page?”

Screenshot / Video

screen shot 2017-11-02 at 12 40 57

ays-gutenberg

gutenberg-ays

Related Issues and/or PRs

#3279

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    [Feature] Writing FlowBlock selection, navigation, splitting, merging, deletion...[Type] BugAn existing feature does not function as intended

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions