We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
posva
yyx990803
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent c755de9 commit 1261363Copy full SHA for 1261363
src/util/scroll.js
@@ -8,6 +8,10 @@ import { extend } from './misc'
8
const positionStore = Object.create(null)
9
10
export function setupScroll () {
11
+ // Prevent browser scroll behavior on History popstate
12
+ if ('scrollRestoration' in window.history) {
13
+ window.history.scrollRestoration = 'manual'
14
+ }
15
// Fix for #1585 for Firefox
16
// Fix for #2195 Add optional third attribute to workaround a bug in safari https://bugs.webkit.org/show_bug.cgi?id=182678
17
// Fix for #2774 Support for apps loaded from Windows file shares not mapped to network drives: replaced location.origin with
0 commit comments