Editor: Triggering the unsaved changes AYS dialog in the editor loses <- Back button history #4509
Labels
[Feature] Post/Page Editor
The editor for editing posts and pages.
Navigation
[Status] Stale
[Type] Bug
When a feature is broken and / or not performing as intended
Triggering an AYS in the editor loses <- Back button history.
I trigger the unsaved changed AYS (Are You Sure?) dialog often when creating drafts. I’ll jump in to the editor capture a thought to work through later, maybe toss a screenshot up, and then get right back out. Autosave is usually too slow and I invoke the AYS, which seems to stomp <- Back button history. This disrupts my draft flow.
Steps to reproduce
What I expected
I expected to return to /posts/drafts/, where I started. If the AYS dialog is not triggered, <- Back correctly returns to /posts/drafts/.
What happened instead
<-Back returns to /posts/ instead of /drafts/.
Browser / OS version
Macnchrome, latest
iPhone +, latest
Screenshot / Video
Flow starting from /drafts and following the steps to reproduce. Note that the start and finish are different.
The text was updated successfully, but these errors were encountered: