Skip to content

fix(importer): only close own modal when files are added for upload - #657

Merged
JammingBen merged 1 commit into
mainfrom
fix/importer-remove-own-modal
Nov 2, 2026
Merged

JammingBen merged 1 commit into
mainfrom
fix/importer-remove-own-modal

Conversation

@JammingBen

@JammingBen JammingBen commented Nov 2, 2026 •

Copy link
Copy Markdown
Member

On addedForUpload, the importer closed the active modal. This was not always the import modal. Uppy publishes addedForUpload once per folder, so a folder upload could close other modals, e.g. the upload conflict dialog.

The importer now keeps the id of its own modal. It closes only that modal, and only once. If the user cancels the import dialog, the id is reset.

Surfaced during the development in opencloud-eu/web#4140.

@dschmidt dschmidt 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.

LGTM

@JammingBen
JammingBen merged commit 5b3bdf3 into main Nov 2, 2026
5 checks passed
@JammingBen
JammingBen deleted the fix/importer-remove-own-modal branch November 2, 2026 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants