@syncfusion/ej2-schedule 23.1.38 → 23.1.40

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.
@@ -14888,7 +14888,7 @@ class WorkCellInteraction {
14888
14888
  }
14889
14889
  else {
14890
14890
  const date = this.parent.getDateFromElement(target);
14891
- if (!isNullOrUndefined(date) && !this.parent.isAdaptive && this.parent.isMinMaxDate(date)) {
14891
+ if (!isNullOrUndefined(date) && this.parent.isMinMaxDate(date)) {
14892
14892
  this.parent.setProperties({ selectedDate: date }, true);
14893
14893
  this.parent.changeView(this.parent.getNavigateView(), e);
14894
14894
  }
@@ -21014,7 +21014,7 @@ class DragAndDrop extends ActionBase {
21014
21014
  if (this.parent.quickPopup) {
21015
21015
  this.parent.quickPopup.quickPopupHide(true);
21016
21016
  }
21017
- if ((!isNullOrUndefined(e.target)) && e.target.classList.contains(DISABLE_DATES)) {
21017
+ if ((!isNullOrUndefined(e.target)) && e.target.classList && e.target.classList.contains(DISABLE_DATES)) {
21018
21018
  return;
21019
21019
  }
21020
21020
  const eventObj = extend({}, this.actionObj.event, null, true);
@@ -21104,7 +21104,7 @@ class DragAndDrop extends ActionBase {
21104
21104
  if (this.isAllowDrop(e)) {
21105
21105
  return;
21106
21106
  }
21107
- const target = ((!e.target.classList.contains('e-work-cells') && this.parent.cellTemplate) ?
21107
+ const target = (e.target.classList && (!e.target.classList.contains('e-work-cells') && this.parent.cellTemplate) ?
21108
21108
  closest(e.target, '.e-work-cells') : e.target);
21109
21109
  const dragArgs = {
21110
21110
  cancel: false, data: this.getChangedData(this.updatedData), selectedData: this.updatedData,