@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.
- package/dist/ej2-schedule.min.js +2 -2
- package/dist/ej2-schedule.umd.min.js +2 -2
- package/dist/ej2-schedule.umd.min.js.map +1 -1
- package/dist/es6/ej2-schedule.es2015.js +8 -4
- package/dist/es6/ej2-schedule.es2015.js.map +1 -1
- package/dist/es6/ej2-schedule.es5.js +8 -4
- package/dist/es6/ej2-schedule.es5.js.map +1 -1
- package/dist/global/ej2-schedule.min.js +2 -2
- package/dist/global/ej2-schedule.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +8 -8
- package/src/schedule/actions/touch.d.ts +1 -0
- package/src/schedule/actions/touch.js +8 -4
|
@@ -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
|
-
|
|
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);
|