@syncfusion/ej2-base 20.2.45 → 20.2.48

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.
@@ -7654,9 +7654,6 @@ var Draggable = /** @__PURE__ @class */ (function (_super) {
7654
7654
  if (isChangeTouch && (evt.changedTouches.length !== 1)) {
7655
7655
  return;
7656
7656
  }
7657
- if (isChangeTouch) {
7658
- evt.preventDefault();
7659
- }
7660
7657
  var intCordinate = this.getCoordinates(evt);
7661
7658
  var pos;
7662
7659
  var styleProp = getComputedStyle(this.element);
@@ -7687,6 +7684,9 @@ var Draggable = /** @__PURE__ @class */ (function (_super) {
7687
7684
  if (!ele || isNullOrUndefined(ele)) {
7688
7685
  return;
7689
7686
  }
7687
+ if (isChangeTouch) {
7688
+ evt.preventDefault();
7689
+ }
7690
7690
  var dragTargetElement = this.helperElement = ele;
7691
7691
  this.parentClientRect = this.calculateParentPosition(dragTargetElement.offsetParent);
7692
7692
  if (this.dragStart) {