We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7274f4b commit 139fa2bCopy full SHA for 139fa2b
2 files changed
core/gesture.ts
@@ -467,6 +467,15 @@ export class Gesture {
467
/* opt_noCaptureIdentifier */ true,
468
),
469
);
470
+ this.boundEvents.push(
471
+ browserEvents.conditionalBind(
472
+ document,
473
+ 'pointercancel',
474
+ null,
475
+ this.handleUp.bind(this),
476
+ /* opt_noCaptureIdentifier */ true,
477
+ ),
478
+ );
479
480
e.preventDefault();
481
e.stopPropagation();
core/touch.ts
@@ -46,7 +46,6 @@ export const TOUCH_MAP: {[key: string]: string[]} = {
46
'mouseup': ['pointerup', 'pointercancel'],
47
'touchend': ['pointerup'],
48
'touchcancel': ['pointercancel'],
49
- 'pointerup': ['pointerup', 'pointercancel'],
50
};
51
52
/** PID of queued long-press task. */
0 commit comments