-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Progress event arguments bug #117
Comments
@BlueBazze thanks for opening -- can you try the this.uploader.on('progress', (progress) => {
console.log(progress)
}) |
@dylanjha Thanks for the swift response. |
If i try to render |
You're not finding Any chance you can put this reduced test case somewhere we can play with it like JSFiddle or Codesandbox? |
https://codesandbox.io/p/sandbox/frosty-resonance-dzwhkc All you need to do is insert an upload url on line 54 in |
Ugh I'm chasing down what in the world is going on with this import mess, because I'm running into that original thing you mentioned as a footnote re: import errors. That being said, while I look into that, if you have an environment where this is working, the this.uploader.on('progress', (progress) => {
console.log(progress.detail)
this.upload.progress = progress
}) |
Great! Going to close this one, and #88 is where we'll continue to push on the ESM work. |
Thanks for your help |
Problem
The progress event seems to fire with an object as the only argument:
{"IsTrusted":false}
The actual upload seems to work fine, without problems.
Code
Output
Affected versions
I have tried versions
2.3.1
,3.2.0
&3.1.0
The same outcome on all three versions
My environment
Web framework: Nuxt 2, webpack 4
I've tested this both in production and locally, with the same outcome.
Source code
https://gist.github.com/BlueBazze/4f05a44d5e5712b3fdfa7e50aed2ac8d
The function responsible for uploading the video is on line 247: https://gist.github.com/BlueBazze/4f05a44d5e5712b3fdfa7e50aed2ac8d#file-uploadupchunk-vue-L247
What i've tried
Originally i was using the version
2.3.1
because of another error last year: #88Tried to update to both version
3.1.0
and3.2.0
Already tried the different imports
* as UpChunk
,{UpChunk}
&{createUpload}
Tried all three js versions mjs, cjs & regular
The keyword
IsTrusted
does not appear as part of UpChunk source.Did see it in the dist js files being initiated as a property on a class (if im not mistaken)
Cant deny it might be a problem on my end, but i have gone through everything and i dont see the problem.
The text was updated successfully, but these errors were encountered: