Skip to content
This repository has been archived by the owner on Jun 18, 2018. It is now read-only.

Dropping an image in Firefox doesn't work #29

Open
smvilar opened this issue Apr 22, 2016 · 0 comments
Open

Dropping an image in Firefox doesn't work #29

smvilar opened this issue Apr 22, 2016 · 0 comments

Comments

@smvilar
Copy link

smvilar commented Apr 22, 2016

bug

  • Note that files array is empty
  • Also, in Chrome it is recognized as __NATIVE_URL__

Firefox 47.0a2

smvilar pushed a commit to smvilar/react-dnd-html5-backend that referenced this issue May 11, 2016
When dropping an image (from another tab) in Firefox, it sends `'Files'` in the `dataTransfer.types` array but `dataTransfer.files` value is `null`.

This change should prevent a type from being recognized as such if there's no value returning from the `getData` function for that type.

Closes react-dnd#29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant