fix(all): gestures should use a passive listener (#21038)

This commit is contained in:
Liam DeBeasi
2020-04-30 16:03:54 -04:00
committed by GitHub
parent eab3373213
commit dea9248763
4 changed files with 8 additions and 13 deletions

View File

@ -7,7 +7,10 @@ export const createPointerEvents = (
pointerDown: any,
pointerMove: any,
pointerUp: any,
options: EventListenerOptions
options: {
passive?: boolean;
capture?: boolean
}
) => {
let rmTouchStart: (() => void) | undefined;