@syncfusion/ej2-gantt 20.3.60 → 20.3.61

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.
@@ -414,6 +414,10 @@ var DateProcessor = /** @__PURE__ @class */ (function () {
414
414
  }
415
415
  }
416
416
  }
417
+ if (ganttProp && ganttProp.baselineStartDate && cloneDate &&
418
+ ganttProp.baselineStartDate.getTime() > cloneDate.getTime()) {
419
+ cloneDate.setDate(cloneDate.getDate() + 1);
420
+ }
417
421
  return cloneDate;
418
422
  }
419
423
  };
@@ -4558,6 +4562,12 @@ var GanttChart = /** @__PURE__ @class */ (function () {
4558
4562
  */
4559
4563
  GanttChart.prototype.documentMouseUp = function (e) {
4560
4564
  this.isGanttElement = true;
4565
+ if (e.target.classList.contains('e-treegridexpand') ||
4566
+ e.target.classList.contains('e-treegridcollapse')) {
4567
+ if (getValue('isEditCollapse', this.parent.treeGrid) === true) {
4568
+ setValue('isEditCollapse', false, this.parent.treeGrid);
4569
+ }
4570
+ }
4561
4571
  if (this.parent.allowRowDragAndDrop) {
4562
4572
  var ganttDragElemet = this.parent.element.querySelector('.e-ganttdrag');
4563
4573
  if (ganttDragElemet) {