@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.
@@ -5076,7 +5076,7 @@ var GanttChart = /** @__PURE__ @class */ (function () {
5076
5076
  this.parent.treeGrid.grid.notify('key-pressed', e);
5077
5077
  }
5078
5078
  }
5079
- if (!this.parent.editModule.cellEditModule.isCellEdit) {
5079
+ if (!isInEditedState) {
5080
5080
  if (nextElement) {
5081
5081
  if ($target.classList.contains('e-rowcell')) {
5082
5082
  this.manageFocus($target, 'remove', false);
@@ -21819,6 +21819,9 @@ var Edit$2 = /** @__PURE__ @class */ (function () {
21819
21819
  if (!isNullOrUndefined(this.parent.editModule) && ganttData) {
21820
21820
  this.parent.isOnEdit = true;
21821
21821
  this.validateUpdateValues(data, ganttData, true);
21822
+ if (data[this.parent.taskFields.resourceInfo]) {
21823
+ this.updateResourceRelatedFields(ganttData, 'resource');
21824
+ }
21822
21825
  var keys = Object.keys(data);
21823
21826
  if (keys.indexOf(tasks.startDate) !== -1 || keys.indexOf(tasks.endDate) !== -1 ||
21824
21827
  keys.indexOf(tasks.duration) !== -1) {
@@ -25287,7 +25290,7 @@ var Filter$1 = /** @__PURE__ @class */ (function () {
25287
25290
  };
25288
25291
  Filter$$1.prototype.updateFilterMenuPosition = function (element, args) {
25289
25292
  addClass([element], 'e-gantt');
25290
- document.body.appendChild(element);
25293
+ document.querySelector('#' + this.parent.controlId).appendChild(element);
25291
25294
  var targetElement;
25292
25295
  if (this.parent.showColumnMenu) {
25293
25296
  targetElement = document.querySelector('#treeGrid' + this.parent.controlId + '_gridcontrol_colmenu_Filter');