@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.
@@ -1941,17 +1941,21 @@ class ScheduleTouch {
1941
1941
  EventHandler.add(this.element, 'touchend', this.preventEventClick, this);
1942
1942
  }
1943
1943
  this.parent.quickPopup.tapHoldEventPopup(e.originalEvent);
1944
+ this.triggerResizeStart(e.originalEvent);
1944
1945
  }
1945
1946
  else if (['Agenda', 'MonthAgenda', 'Year'].indexOf(this.parent.currentView) < 0) {
1946
1947
  this.parent.selectedElements = [];
1947
1948
  this.parent.eventBase.getSelectedEventElements(target);
1948
- if (this.parent.resizeModule && closest(e.originalEvent.target, '.' + EVENT_RESIZE_CLASS)) {
1949
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
1950
- this.parent.resizeModule.resizeStart(e.originalEvent);
1951
- }
1949
+ this.triggerResizeStart(e.originalEvent);
1952
1950
  }
1953
1951
  }
1954
1952
  }
1953
+ triggerResizeStart(e) {
1954
+ if (this.parent.resizeModule && closest(e.target, '.' + EVENT_RESIZE_CLASS)) {
1955
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
1956
+ this.parent.resizeModule.resizeStart(e);
1957
+ }
1958
+ }
1955
1959
  preventEventClick(e) {
1956
1960
  e.preventDefault();
1957
1961
  EventHandler.remove(this.element, 'touchend', this.preventEventClick);