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

Dragging already added file and dropping it, duplicates file #5639

Open
2 tasks done
gongAll opened this issue Feb 5, 2025 · 2 comments
Open
2 tasks done

Dragging already added file and dropping it, duplicates file #5639

gongAll opened this issue Feb 5, 2025 · 2 comments
Labels

Comments

@gongAll
Copy link

gongAll commented Feb 5, 2025

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://uppy.io/examples/
streamable

Steps to reproduce

  • Add .png file
  • After being added, drag file around
  • Drop file when prompted to do so ("Drop files here" appears)

Expected behavior

Should not allow to drop file. Perhaps should allow to reorder files instead, when files have already been added.

Actual behavior

Result: File is duplicated how many times I do it (literally to infinity)

PS: I had already created an issue for this, but it was closed without a response: #5622 (comment)

@gongAll gongAll added the Bug label Feb 5, 2025
@Murderlon
Copy link
Member

It no longer happens in Chrome and Firefox and thus it seemed fixed. Only in Safari I still see it happen.

@gongAll
Copy link
Author

gongAll commented Feb 5, 2025

@Murderlon

It no longer happens in Chrome and Firefox and thus it seemed fixed. Only in Safari I still see it happen.

I did just reproduce it locally on Brave, which is Chromium based.

everything is in the latest version:
"@uppy/angular": "^0.7.0",
"@uppy/core": "^4.4.2",
"@uppy/dashboard": "^4.3.1",
"@uppy/drag-drop": "^4.1.1",
"@uppy/drop-target": "^3.1.1",
"@uppy/image-editor": "^3.3.1",
"@uppy/locales": "^4.5.1",
"@uppy/progress-bar": "^4.2.1",
"@uppy/status-bar": "^4.1.1",
"@uppy/utils": "^6.1.2",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants