- why basic anchor link doesn't work? https://github.com/vuejs/vue-router/pull/1814/files
Vue Router's default value for window.history.scrollRestoration is
manual
Good explanation about window.history.scrollRestoration: https://developers.google.com/web/updates/2015/09/history-api-scroll-restoration (This also explains why firefox and chrome works differently)
wait, but this thought is based on the assumption that anchor link doesn't work with history.scrollRestoration = "manual"
. Is this a fair assumption?
- Potential solution : vuejs/vue-router#3199 (Scroll behaviour gets triggerd on landing. This was not included in the last release)