From 178c50d600ed01cc3a48f81a2f0efb06e3c30b46 Mon Sep 17 00:00:00 2001 From: Evan Verworn Date: Mon, 22 Jan 2018 12:04:45 -0500 Subject: [PATCH] Mark the onscroll as passive --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 654efdb..b21cac5 100644 --- a/index.js +++ b/index.js @@ -369,7 +369,7 @@ 'height': this.size * this.remain + 'px' }, 'on': { - 'scroll': dbc ? _debounce(this.onScroll.bind(this), dbc) : this.onScroll + '&scroll': dbc ? _debounce(this.onScroll.bind(this), dbc) : this.onScroll } }, [ h(this.wtag, {