I recently run in to an issue after subscribing to the upload-progress event. I did not understand why percentage is undefined while it should be the same.
The documentation of upload-progress states that the progress parameter is "The same object as in file.progress".
But that's not true. The progress value only contains a fraction of that object. The code example shows the correct structure.
Hi,
I recently run in to an issue after subscribing to the
upload-progress
event. I did not understand whypercentage
is undefined while it should be the same.The documentation of upload-progress states that the
progress
parameter is "The same object as infile.progress
".But that's not true. The progress value only contains a fraction of that object. The code example shows the correct structure.
https://github.com/transloadit/uppy.io/blob/96f5c5cdc9265e0ec739c3b3f7735dc075c468d6/docs/uppy-core.mdx?plain=1#L1061-L1078