Skip to content

Fix multiple file drag-and-drop in dcc.Upload - #3916

Open
AnnMarieW wants to merge 1 commit into
plotly:devfrom
AnnMarieW:fix-upload-drag-drop
Open

Fix multiple file drag-and-drop in dcc.Upload#3916
AnnMarieW wants to merge 1 commit into
plotly:devfrom
AnnMarieW:fix-upload-drag-drop

Conversation

@AnnMarieW

@AnnMarieW AnnMarieW commented Jul 24, 2026

Copy link
Copy Markdown
Collaborator

closes #3671

Fixes a regression introduced in #3464

Fix drag-and-drop of multiple files in dcc.Upload. Collect all DataTransferItem entries before the first async operation to avoid losing items during drag event processing.

I'm not sure how to do a test for this, but when I run it locally, this fixes the multiple file drag/drop

@sonarqubecloud

Copy link
Copy Markdown

@robertclaus robertclaus assigned T4rk1n and KoolADE85 and unassigned T4rk1n Jul 27, 2026

@KoolADE85 KoolADE85 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good! I tested on Firefox and Chrome and it works well. Just needs a CHANGELOG entry.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Dash upload components behaves differently on multiple file upload via drag & drop and file selector

3 participants