We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1004b8f commit f9570dbCopy full SHA for f9570db
src/history/html5.js
@@ -17,9 +17,10 @@ export class HTML5History extends History {
17
}
18
19
window.addEventListener('popstate', e => {
20
+ const current = this.current
21
this.transitionTo(getLocation(this.base), route => {
22
if (expectScroll) {
- handleScroll(router, route, this.current, true)
23
+ handleScroll(router, route, current, true)
24
25
})
26
0 commit comments