@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.
@@ -7425,9 +7425,6 @@ let Draggable = Draggable_1 = class Draggable extends Base {
7425
7425
  if (isChangeTouch && (evt.changedTouches.length !== 1)) {
7426
7426
  return;
7427
7427
  }
7428
- if (isChangeTouch) {
7429
- evt.preventDefault();
7430
- }
7431
7428
  let intCordinate = this.getCoordinates(evt);
7432
7429
  let pos;
7433
7430
  let styleProp = getComputedStyle(this.element);
@@ -7458,6 +7455,9 @@ let Draggable = Draggable_1 = class Draggable extends Base {
7458
7455
  if (!ele || isNullOrUndefined(ele)) {
7459
7456
  return;
7460
7457
  }
7458
+ if (isChangeTouch) {
7459
+ evt.preventDefault();
7460
+ }
7461
7461
  let dragTargetElement = this.helperElement = ele;
7462
7462
  this.parentClientRect = this.calculateParentPosition(dragTargetElement.offsetParent);
7463
7463
  if (this.dragStart) {