Skip to content

complete event fires once per upload invocation, not when all uploads finish #6118

@dzej1

Description

@dzej1

Initial checklist

  • I understand this is a bug report and questions should be posted in the Community Forum
  • I searched issues and couldn’t find anything (or linked relevant results below)

Link to runnable example

https://github.com/dzej1/uppy-emiting-complete-envent-even-when-not-completed/tree/main

Steps to reproduce

Prerequisites

  • At least two large files, so the first upload does not finish immediately

Reproduction Steps

  1. Start an upload with file A.
  2. Before file A finishes uploading, trigger upload again with file B
  3. Observe the complete event.

Expected behavior

complete fires once when the uploader becomes fully idle (all files finished)

Actual behavior

The complete event is emitted once for every upload invocation, not once when all uploads have finished.

Screen.Recording.mov

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions