Welcome to the Angular feedback portal. We’re happy you’re here! If you have feedback on how to improve the Angular, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote

I found a bug in:

node_modules/@syncfusion/ej2-gantt/dist/es6/ej2-gantt.es2015.js

In line 12297
updateEditedItem()

projectStartDate is used multiple time like 'let left;'

updateEditedItem() {
let item = this.taskBarEditRecord.ganttProperties;
let left;
let projectStartDate; // THIS WAS ADDED
switch (this.taskBarEditAction) {
case 'ProgressResizing':
this.parent.setRecordValue('progress', this.getProgressPercent(item.width, item.progressWidth), item, true);
break;
case 'LeftResizing':
left = this.getRoundOffStartLeft(item, this.roundOffDuration);
projectStartDate = this.getDateByLeft(left); // HERE let WAS REMOVED


I hope this helps

Since in a swtich case the variable i never
declared it cant be accessed in a later case;