|
@@ -349,6 +349,12 @@ export class PointerTracker implements Tracker
|
349
|
349
|
// what if we receive 'began' after 'ended' in the same frame?
|
350
|
350
|
else if(phase == 'began' && current) {
|
351
|
351
|
if(current.phase == 'ended' || current.phase == 'canceled') {
|
|
352
|
+ // ignore the 'began' and maintain the 'ended'
|
|
353
|
+ // issue on Epiphany: pointerenter may come after a pointerup -> pointerleave sequence
|
|
354
|
+ if(event.type == 'pointerenter')
|
|
355
|
+ continue;
|
|
356
|
+
|
|
357
|
+ // ignore the 'ended' and the 'began'
|
352
|
358
|
this._newPointers.delete(id);
|
353
|
359
|
continue;
|
354
|
360
|
}
|