Skip to content

Commit

Permalink
React events: use passive events where possible
Browse files Browse the repository at this point in the history
  • Loading branch information
necolas committed Apr 19, 2019
1 parent 051513b commit 67d76bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/react-events/src/Press.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ const targetEventTypes = [
'pointercancel',
];
const rootEventTypes = [
{name: 'keyup', passive: false},
{name: 'pointerup', passive: false},
'keyup',
'pointerup',
'pointermove',
'scroll',
];
Expand Down

0 comments on commit 67d76bd

Please sign in to comment.