@syncfusion/ej2-pdfviewer 17.3.50-4568 → 17.3.51-4568
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ej2-pdfviewer.umd.min.js +1 -1
- package/dist/ej2-pdfviewer.umd.min.js.map +1 -1
- package/dist/es6/ej2-pdfviewer.es2015.js +7 -1
- package/dist/es6/ej2-pdfviewer.es2015.js.map +1 -1
- package/dist/es6/ej2-pdfviewer.es5.js +7 -1
- package/dist/es6/ej2-pdfviewer.es5.js.map +1 -1
- package/package.json +3 -3
- package/src/pdfviewer/base/pdfviewer-base.js +7 -1
- package/src/pdfviewer/pdfviewer-model.d.ts +1 -1
- package/src/pdfviewer/pdfviewer.d.ts +1 -1
|
@@ -20600,7 +20600,7 @@ var PdfViewerBase = /** @class */ (function () {
|
|
|
20600
20600
|
if (this.isDeviceiOS) {
|
|
20601
20601
|
var obj = findActiveElement(event, this, this.pdfViewer);
|
|
20602
20602
|
// eslint-disable-next-line
|
|
20603
|
-
var isRemoveFocus_1 = !this.pdfViewer.annotation.freeTextAnnotationModule.isNewFreeTextAnnot && (obj && this.pdfViewer.selectedItems.annotations[0] ? obj.id !== this.pdfViewer.selectedItems.annotations[0].id : true) && document.activeElement.classList.contains('free-text-input') && this.isFreeTextAnnotation(this.pdfViewer.selectedItems.annotations);
|
|
20603
|
+
var isRemoveFocus_1 = (!isNullOrUndefined(this.pdfViewer.annotation) && !isNullOrUndefined(this.pdfViewer.annotation.freeTextAnnotationModule) && !this.pdfViewer.annotation.freeTextAnnotationModule.isNewFreeTextAnnot) && (obj && this.pdfViewer.selectedItems.annotations[0] ? obj.id !== this.pdfViewer.selectedItems.annotations[0].id : true) && document.activeElement.classList.contains('free-text-input') && this.isFreeTextAnnotation(this.pdfViewer.selectedItems.annotations);
|
|
20604
20604
|
if (!this.singleTapTimer) {
|
|
20605
20605
|
this.singleTapTimer = setTimeout(function () {
|
|
20606
20606
|
if (isRemoveFocus_1) {
|
|
@@ -20615,6 +20615,9 @@ var PdfViewerBase = /** @class */ (function () {
|
|
|
20615
20615
|
else {
|
|
20616
20616
|
if (this.pdfViewer.enablePinchZoom) {
|
|
20617
20617
|
this.tapCount++;
|
|
20618
|
+
if (this.tapCount > 2) {
|
|
20619
|
+
this.tapCount = 2;
|
|
20620
|
+
}
|
|
20618
20621
|
clearTimeout(this.singleTapTimer);
|
|
20619
20622
|
this.singleTapTimer = null;
|
|
20620
20623
|
this.onDoubleTap(touchPoints);
|
|
@@ -20632,6 +20635,9 @@ var PdfViewerBase = /** @class */ (function () {
|
|
|
20632
20635
|
else {
|
|
20633
20636
|
if (this.pdfViewer.enablePinchZoom) {
|
|
20634
20637
|
this.tapCount++;
|
|
20638
|
+
if (this.tapCount > 2) {
|
|
20639
|
+
this.tapCount = 2;
|
|
20640
|
+
}
|
|
20635
20641
|
clearTimeout(this.singleTapTimer);
|
|
20636
20642
|
this.singleTapTimer = null;
|
|
20637
20643
|
this.onDoubleTap(touchPoints);
|