Skip to content

[amp-next-page-v2] History manipulation #25553

@wassgha

Description

@wassgha

Currently amp-next-page only keeps the state of the currently viewable document in history which means that it's impossible to go back to the original article (the host page) using the browser's back button.
amp-next-page v2 currently does not manipulate history at all so we have to implement the existing behavior and improve it by keeping a history stack of all pages seen (and replacing history state if the user scrolls back to a previously seen page).

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions