Skip to content

Commit 4397a45

Browse files
shishiv30Akryum
authored andcommitted
fix: The default target for IOS should be body, closes #73 (#85)
1 parent f875df0 commit 4397a45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mixins/scroller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export default {
8686
methods: {
8787
getListenerTarget () {
8888
let target = ScrollParent(this.$el)
89-
if (target === window.document.documentElement) {
89+
if (target === window.document.documentElement || target === window.document.body) {
9090
target = window
9191
}
9292
return target

0 commit comments

Comments
 (0)