FileUpload: Never cancels the upload request when I click on the cancel button. #15664
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
If I upload a (large) file and cancel it before it has been uploaded, the HTTP upload request is never canceled.
Environment
Doesnt matter.
Reproducer
https://stackblitz.com/edit/zjfynw
Angular version
17.3.7
PrimeNG version
17.17.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
v18.20.3
Browser(s)
No response
Steps to reproduce the behavior
https://stackblitz.com/edit/zjfynw
Add file for upload
Click on upload button
Click on remove file button
It continues uploading
And it finishes uploading.
Expected behavior
When I click on the remove file button, it unsubscribes from the HTTP request.
The text was updated successfully, but these errors were encountered: