Skip to content

Commit d916bc6

Browse files
xoritangbc
authored andcommitted
Mark the onscroll as passive
1 parent d587f68 commit d916bc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@
369369
'height': this.size * this.remain + 'px'
370370
},
371371
'on': {
372-
'scroll': dbc ? _debounce(this.onScroll.bind(this), dbc) : this.onScroll
372+
'&scroll': dbc ? _debounce(this.onScroll.bind(this), dbc) : this.onScroll
373373
}
374374
}, [
375375
h(this.wtag, {

0 commit comments

Comments
 (0)