Our app has registered a general page as the list view component of a custom content type that supports space containers. This causes the general page to be listed in the “Apps” section of the Confluence space sidebar.
Inside the general page, we use AP.history
. Previously, when users navigated to a sub-screen of our general page, they could navigate back to the front page by clicking our app item in the space sidebar. This link leads to the general page without any #!
location hash, causing the page to reload, but at least it worked.
This behaviour seems to have changed. The link in the sidebar still leads to the same URL, but clicking it does not reload the page. Instead, the location hash is removed from the browser URL, but no popState
event is triggered in the iframe, and also AP.history.getState()
still returns the outdated location hash. This means that users unexpectedly cannot navigate back to the front page of our general page by clicking this item, and also the browser URL does not represent the current screen anymore.