-
-
Notifications
You must be signed in to change notification settings - Fork 155
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
Unable to track file upload progress on Apollo Client v3- #349
Comments
I don't know if any of that old code your reference is still a good idea, but are you sure that your files are not just small enough that it actually does upload them in one chunk? |
That was what I twas thinking initially, but not really. I did test it out with files that are pretty much large. I have tried with 200MB, to 2 gigs files. |
Regarding the old code reference, you are right. Not sure if there is another way to get this to work. There isnt much docs on this stuff as well, at least for this library to achieve file upload progress. What is your best advice please? |
I am also looking for a solution into this, this solution doesn't work anymore , on version v3.8.7 |
So I have followed on what is recommended here on how to track progress on file upload. On apollo-client v3, it looks like
xhr.upload.onprogress
is not really working as expected.Issue is:
It doesn't return the progress ranges until when it is 1 (donating 100%).
Followed up on @n1ru4l's solution in this section on an attempt to solve this for Apollo Client v3, and it seems not to work.
What do you think the issue is? Are there any potential updates since these suggestions from here please?
The text was updated successfully, but these errors were encountered: