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

FileUploader: Files are replaced rather than added #1774

Open
brunnerh opened this issue Jul 23, 2023 · 1 comment
Open

FileUploader: Files are replaced rather than added #1774

brunnerh opened this issue Jul 23, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@brunnerh
Copy link
Contributor

brunnerh commented Jul 23, 2023

When multiple is set, the existing file list is cleared when new files are selected.
This should not happen, newly selected files should be added to the existing list of files.

See also the demo on the spec page.
(There may be a bug in that version as well: When adding the same file multiple times, it creates multiple entries, but removing one of them removes all instances. Not sure why, maybe the browser tracks file identity and if the items are removed via filter all references get removed. Ideally existing files should not be added multiple times in the first place.)

The same probably applies to FileUploaderDropContainer.

@abradaric
Copy link

This is rather major bug for apps that handle files on regular occasion. Any plans to fix in near future?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants