Skip to content
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

Uploader Event "ITEM_PROGRESS" logs lower completed value than the log before #809

Closed
mariusschroeterCP opened this issue Jan 2, 2025 · 1 comment

Comments

@mariusschroeterCP
Copy link

In version 1.9.0, I noticed unexpected behavior with the item.completed (progress) value. While logging the UPLOADER_EVENTS.ITEM_PROGRESS event during an upload, a later log sometimes shows a lower item.completed value than an earlier log. This behavior occasionally causes the progress value to flicker between two numbers.

Versions

"@rpldy/mock-sender": "^1.9.0",
"@rpldy/retry-hooks": "^1.9.0",
"@rpldy/tus-uploady": "^1.9.0",
"@rpldy/upload-button": "^1.9.0",
"@rpldy/upload-drop-zone": "^1.9.0",
"@rpldy/upload-preview": "^1.9.0",
"@rpldy/uploady": "^1.9.0",
@yoavniran
Copy link
Collaborator

hey @mariusschroeterCP
thanks for reporting.
Is this always the case? for all uploads? Is it specific to Tus? Or reproduces without as well?
if you're able to create a reproducing code sandbox, it will be really useful to investigate this quicker.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants