transloadit / uppy.io

The Uppy website
https://uppy.io
11 stars 27 forks source link

Parameter statement of upload-progress event is incorrect #212

Open nerg4l opened 6 months ago

nerg4l commented 6 months ago

Hi,

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.

https://github.com/transloadit/uppy.io/blob/96f5c5cdc9265e0ec739c3b3f7735dc075c468d6/docs/uppy-core.mdx?plain=1#L1061-L1078