Skip to content

Commit

Permalink
scroll set probeType=3 when listenScroll is true
Browse files Browse the repository at this point in the history
  • Loading branch information
dolymood committed Apr 20, 2018
1 parent c8c7992 commit 47e529d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/scroll/scroll.vue
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,10 @@
scrollX: this.direction === DIRECTION_H
}, this.options)
if (this.listenScroll) {
options.probeType = 3
}
this.scroll = new BScroll(this.$refs.wrapper, options)
if (this.listenScroll) {
Expand Down

0 comments on commit 47e529d

Please sign in to comment.