You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/util/scroll.js
+4
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,10 @@ import { extend } from './misc'
8
8
constpositionStore=Object.create(null)
9
9
10
10
exportfunctionsetupScroll(){
11
+
// Prevent browser scroll behavior on History popstate
12
+
if('scrollRestoration'inwindow.history){
13
+
window.history.scrollRestoration='manual'
14
+
}
11
15
// Fix for #1585 for Firefox
12
16
// Fix for #2195 Add optional third attribute to workaround a bug in safari https://bugs.webkit.org/show_bug.cgi?id=182678
13
17
// Fix for #2774 Support for apps loaded from Windows file shares not mapped to network drives: replaced location.origin with
0 commit comments