#1914·dropzone

UploadProgress in chunk mode

Author: fcnoCreated Feb 20, 2021Updated Dec 13, 2023
Labelsbug

Describe the bug Reopening a old issue because the problems still exists. Original issue

When i try to upload a big file in chunk mode, dropzone calculating upload progress not correct. My chunk size is 1048576 bytes and on every chunk complete upload progress is set to 100%. Example progress: 1% -> 2% -> 3% -> 100% -> 4% -> 5%

To Reproduce Steps to reproduce the behavior:

  1. Use a progress bar
  2. Send a file in chunks mode
  3. The percentage jump to 100% percentage when a chunk is completed and then comeback to the real progress value.

Expected behavior Do not have those 100% jumps and show only the real progress

Browser / OS:

  • OS & Device: Windows pro 10 64 bits
  • Browser: chrome 88.0.4324.182 64 bits
  • Dropzone: dropzone_Dropzone.version = "5.7.6"; // Extracted direct from the dropzon JS file.