@syncfusion/ej2-gantt 19.3.55 → 19.3.56

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.
@@ -12272,6 +12272,8 @@ let Gantt = class Gantt extends Component {
12272
12272
  renderGantt(isChange) {
12273
12273
  // predecessor calculation
12274
12274
  if (this.predecessorModule && this.taskFields.dependency) {
12275
+ this.predecessorModule['parentIds'] = [];
12276
+ this.predecessorModule['parentRecord'] = [];
12275
12277
  this.predecessorModule.updatePredecessors();
12276
12278
  if (this.isInPredecessorValidation && this.enableValidation) {
12277
12279
  this.predecessorModule.updatedRecordsDateByPredecessor();
@@ -26307,7 +26309,7 @@ class ContextMenu$2 {
26307
26309
  }
26308
26310
  contextMenuOpen(args) {
26309
26311
  this.isOpen = true;
26310
- const firstMenuItem = args.element.querySelectorAll('li:not(.e-menu-hide)')[0];
26312
+ const firstMenuItem = args.element.querySelectorAll('li:not(.e-menu-hide):not(.e-disabled)')[0];
26311
26313
  addClass([firstMenuItem], 'e-focused');
26312
26314
  }
26313
26315
  getMenuItems() {