Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Navigates back in browser history #18776

Closed
mofidsky opened this issue Oct 17, 2018 · 2 comments
Closed

Navigates back in browser history #18776

mofidsky opened this issue Oct 17, 2018 · 2 comments
Assignees

Comments

@mofidsky
Copy link

mofidsky commented Oct 17, 2018

hi
i think its important to back button work between pages.
and i try the on="tap:AMP.goBack" but its refresh the current URL and not going back to previous page and scroll position or some tab is opened, like default browser behavior.

@aghassemi
Copy link
Contributor

@mofidsky AMP.goBack uses browser's native implementation.

If you are looking for single-page-app type of functionality, PWA + AMP (https://www.ampproject.org/docs/integration/pwa-amp) would currently be the best approach.

We are also planning couple of (medium/long)-term features to make this easier. Please subscribe to #16589 and #14738 for updates.

@aghassemi aghassemi self-assigned this Oct 17, 2018
@aghassemi
Copy link
Contributor

Closing as dup of #16589 and #14738

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants