mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-27 04:05:10 +00:00
fixes #5946
Root Cause :
`createDropzone` used a single global `id` for the file input
(`'uppy-dropzone-file-input'`) Clicking any `<Dropzone />` did
`document.getElementById(<global-id>).click()`, which always targeted
the first input in the DOM, so files were added to the first Uppy
instance.
|
||
|---|---|---|
| .. | ||
| hooks | ||
| Dropzone.tsx | ||
| FilesGrid.tsx | ||
| FilesList.tsx | ||
| index.ts | ||
| input.css | ||
| ProviderIcon.tsx | ||
| Thumbnail.tsx | ||
| types.ts | ||
| UploadButton.tsx | ||
| uppyEventAdapter.ts | ||