We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90cd269 commit defe125Copy full SHA for defe125
src/history/hash.js
@@ -28,7 +28,10 @@ export class HashHistory extends History {
28
setupScroll()
29
}
30
31
- window.addEventListener(supportsPushState ? 'popstate' : 'hashchange', () => {
+ const ua = window.navigator.userAgent
32
+ const ie11 = ua.indexOf('rv:11.0') !== -1
33
+
34
+ window.addEventListener(supportsPushState && !ie11 ? 'popstate' : 'hashchange', () => {
35
const current = this.current
36
if (!ensureSlash()) {
37
return
0 commit comments