We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5cf057b commit d770efbCopy full SHA for d770efb
1 file changed
src/core/instance.core.ts
@@ -391,7 +391,10 @@ export class ZoomPanPinch {
391
392
if (!isAllowed) return;
393
394
- const isDoubleTap = this.lastTouch && +new Date() - this.lastTouch < 200;
+ const isDoubleTap =
395
+ this.lastTouch &&
396
+ +new Date() - this.lastTouch < 200 &&
397
+ event.touches.length === 1;
398
399
if (!isDoubleTap) {
400
this.lastTouch = +new Date();
0 commit comments