Skip to content

Commit

Permalink
fix(🐛): fix bug in scrollHandler() (#295)
Browse files Browse the repository at this point in the history
  • Loading branch information
wcandillon authored Jul 1, 2020
1 parent b2bcbf5 commit a39c938
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/core/src/Gesture.ts
Original file line number Diff line number Diff line change
Expand Up @@ -334,8 +334,10 @@ export const scrollHandler = () => {
return {
x,
y,
onScroll,
scrollEventThrottle: 1,
scrollHandler: {
onScroll,
scrollEventThrottle: 1,
},
};
};

Expand Down

0 comments on commit a39c938

Please sign in to comment.