You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the package with react and send a file from client side, progress just returns NaN.
I have cloned the repo and played around with the lib/upload.js and found and xhr event listener for progress never fires. I have tried different methods but couldn't get it to work.
Does any body have an idea how to fix this issues?
Related code
var xhr = new XMLHttpRequest();
xhr.upload.addEventListener(
"progress",
function (event) {
if (event.lengthComputable) {
loaded.set(event.loaded);
total.set(event.total);
}
},
false
);
The text was updated successfully, but these errors were encountered:
When using the package with react and send a file from client side, progress just returns
NaN
.I have cloned the repo and played around with the
lib/upload.js
and found and xhr event listener for progress never fires. I have tried different methods but couldn't get it to work.Does any body have an idea how to fix this issues?
Related code
The text was updated successfully, but these errors were encountered: