From a39c938b9305bd504c6c64ba8cac84cc92f0725c Mon Sep 17 00:00:00 2001 From: William Candillon Date: Wed, 1 Jul 2020 14:22:06 +0200 Subject: [PATCH] =?UTF-8?q?fix(=F0=9F=90=9B):=20fix=20bug=20in=20scrollHan?= =?UTF-8?q?dler()=20(#295)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/core/src/Gesture.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/core/src/Gesture.ts b/packages/core/src/Gesture.ts index 955d3424..6a92b764 100644 --- a/packages/core/src/Gesture.ts +++ b/packages/core/src/Gesture.ts @@ -334,8 +334,10 @@ export const scrollHandler = () => { return { x, y, - onScroll, - scrollEventThrottle: 1, + scrollHandler: { + onScroll, + scrollEventThrottle: 1, + }, }; };