Navigates back in browser history
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.
@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 https://github.com/ampproject/amphtml/issues/16589 and https://github.com/ampproject/amphtml/issues/14738 for updates.
Closing as dup of #16589 and #14738