Uploaded event fired before progress=100 event
See original GitHub issueFirst, thank you very much for providing this cool package for uploading files with Meteor!
Is there a reason why the “uploaded” event is fired before the “progress” event (with 100% progress) is fired?
The following code:
uploadInstance.on("start", () => {
console.log('starting upload');
});
uploadInstance.on("progress", (progress, fileObj) => {
console.log("progress", progress);
});
uploadInstance.on("uploaded", (error, fileObj) => {
console.log("uploaded");
});
results in the console log below:
starting upload
progress 5
progress 37
progress 63
uploaded
progress 100
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Html5 ajax file upload progress listener not triggering when ...
I am uploading files over ajax and processing images after upload. When I tried upload image files over ajax on firefox , xhr...
Read more >XHR upload progress event does not reach 100% in FireFox ...
It is not correct. it seems that 100% progress event is blocked until the action in server side is finished and XHR request...
Read more >Upload ProgressChanged event fires for the last uploaded file ...
My issue is: I can't capture the upload progress for all uploaded files. The “ProgressChanged” event fires for the last uploaded file only....
Read more >XHR does fire Progress events, but passes no ... - GitHub
We're uploading using XHR, setting Content-Length and Content-Type, and seeing "progress" events fire, but the params sent to the event ...
Read more >Angular File Upload with Progress - DEV Community
I've bound the input's change event to a component method while passing the input's files attribute that contains a FileList with one or ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@dr-dimitru Your fix works. Thank you. I’m closing the issue
@raedle thank you for update on this one. Feel free to close it in case if the issue is solved on your end.