@syncfusion/ej2-schedule 28.2.6 → 28.2.7

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.
@@ -1959,17 +1959,21 @@ var ScheduleTouch = /** @__PURE__ @class */ (function () {
1959
1959
  EventHandler.add(this.element, 'touchend', this.preventEventClick, this);
1960
1960
  }
1961
1961
  this.parent.quickPopup.tapHoldEventPopup(e.originalEvent);
1962
+ this.triggerResizeStart(e.originalEvent);
1962
1963
  }
1963
1964
  else if (['Agenda', 'MonthAgenda', 'Year'].indexOf(this.parent.currentView) < 0) {
1964
1965
  this.parent.selectedElements = [];
1965
1966
  this.parent.eventBase.getSelectedEventElements(target);
1966
- if (this.parent.resizeModule && closest(e.originalEvent.target, '.' + EVENT_RESIZE_CLASS)) {
1967
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
1968
- this.parent.resizeModule.resizeStart(e.originalEvent);
1969
- }
1967
+ this.triggerResizeStart(e.originalEvent);
1970
1968
  }
1971
1969
  }
1972
1970
  };
1971
+ ScheduleTouch.prototype.triggerResizeStart = function (e) {
1972
+ if (this.parent.resizeModule && closest(e.target, '.' + EVENT_RESIZE_CLASS)) {
1973
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
1974
+ this.parent.resizeModule.resizeStart(e);
1975
+ }
1976
+ };
1973
1977
  ScheduleTouch.prototype.preventEventClick = function (e) {
1974
1978
  e.preventDefault();
1975
1979
  EventHandler.remove(this.element, 'touchend', this.preventEventClick);