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

Dropzone activity doesn't distinguish between files and selected text #32

Open
Inventsable opened this issue Sep 20, 2020 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@Inventsable
Copy link
Member

On a router view with a fullscreen Dropzone, if you happen to have another element like Input or TextArea and click and drag selected text from within this element, the Dropzone region lights up as if you're dragging a file overtop. This shouldn't happen with file-specific dropping and instead only with the experimental HTML flag in Dropzone, if even then. Releasing the cursor results in the @input and @drop events firing despite the eventTarget being HTML and not a file, which can bubble up to an error on the handler especially if you're expecting a FileList object array.

@Inventsable Inventsable added the bug Something isn't working label Sep 20, 2020
@Inventsable Inventsable self-assigned this Sep 20, 2020
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

1 participant