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 cbb89a4 commit 9b2a658Copy full SHA for 9b2a658
src/components/RecycleScroller.vue
@@ -450,7 +450,7 @@ export default {
450
getListenerTarget () {
451
let target = ScrollParent(this.$el)
452
// Fix global scroll target for Chrome and Safari
453
- if (target === window.document.documentElement || target === window.document.body) {
+ if (window.document && (target === window.document.documentElement || target === window.document.body)) {
454
target = window
455
}
456
return target
0 commit comments