@syncfusion/ej2-gantt 20.1.52 → 20.1.55

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.
@@ -5030,7 +5030,7 @@ class GanttChart {
5030
5030
  this.parent.treeGrid.grid.notify('key-pressed', e);
5031
5031
  }
5032
5032
  }
5033
- if (!this.parent.editModule.cellEditModule.isCellEdit) {
5033
+ if (!isInEditedState) {
5034
5034
  if (nextElement) {
5035
5035
  if ($target.classList.contains('e-rowcell')) {
5036
5036
  this.manageFocus($target, 'remove', false);
@@ -21315,6 +21315,9 @@ class Edit$2 {
21315
21315
  if (!isNullOrUndefined(this.parent.editModule) && ganttData) {
21316
21316
  this.parent.isOnEdit = true;
21317
21317
  this.validateUpdateValues(data, ganttData, true);
21318
+ if (data[this.parent.taskFields.resourceInfo]) {
21319
+ this.updateResourceRelatedFields(ganttData, 'resource');
21320
+ }
21318
21321
  const keys = Object.keys(data);
21319
21322
  if (keys.indexOf(tasks.startDate) !== -1 || keys.indexOf(tasks.endDate) !== -1 ||
21320
21323
  keys.indexOf(tasks.duration) !== -1) {
@@ -24766,7 +24769,7 @@ class Filter$1 {
24766
24769
  }
24767
24770
  updateFilterMenuPosition(element, args) {
24768
24771
  addClass([element], 'e-gantt');
24769
- document.body.appendChild(element);
24772
+ document.querySelector('#' + this.parent.controlId).appendChild(element);
24770
24773
  let targetElement;
24771
24774
  if (this.parent.showColumnMenu) {
24772
24775
  targetElement = document.querySelector('#treeGrid' + this.parent.controlId + '_gridcontrol_colmenu_Filter');