Workspace: Page hash causes issues with browser history #4858
Labels
Group: Workspace
A group encompassing all of workspace – everything inside the canvas and sidebar
P1
High priority, must do soon
Type: Bug
Something isn't working
Bug Description
This is a follow-up to #4605.
Due to the page ID being persisted in the address bar, I cannot reliably use the back button in my browser anymore.
Not sure if this can be easily resolved.
Storing the current page as a hash like this was originally suggested in #825. But maybe we should just use localStorage?
Expected Behaviour
Steps to Reproduce
wp-admin/post-new.php?post_type=web-story#page=%2522a69b45a9-8cd9-46c2-b6a0-81f76005ba26%2522
wp-admin/post-new.php?post_type=web-story#page=null
wp-admin/post-new.php?post_type=web-story
Screenshots
Additional Context
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance Criteria
Implementation Brief
The text was updated successfully, but these errors were encountered: