mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
fix(all): gestures should use a passive listener (#21038)
This commit is contained in:
@ -7,7 +7,10 @@ export const createPointerEvents = (
|
||||
pointerDown: any,
|
||||
pointerMove: any,
|
||||
pointerUp: any,
|
||||
options: EventListenerOptions
|
||||
options: {
|
||||
passive?: boolean;
|
||||
capture?: boolean
|
||||
}
|
||||
) => {
|
||||
|
||||
let rmTouchStart: (() => void) | undefined;
|
||||
|
Reference in New Issue
Block a user