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!>
Thanks for joining our community and helping improve Syncfusion products!
In custom drop area, the uploading files can be cancelled when click on the abort icon. While using the public method cancel, getting the below console error.

public onUploadInProgress: EmitType<Object> = (args: any) => {
let progressValue: string =
Math.round((args.e.loaded / args.e.total) * 100) + "%";
let li: HTMLElement = this.getLiElement(args);
li.querySelector(".upload-status").innerHTML =
args.file.status + "(" + progressValue + " )";
(document.getElementsByClassName("e-file-abort-btn")[0] as any).onclick = (e: any ) => {
this.uploadObj.cancel();
};
};
Replication procedure:
1. Run the above sample.
2. Select files and upload
3. Cancel uploading file using abort icon.
4. Now the above reported console error occurred.