react-dnd-html5-backend icon indicating copy to clipboard operation
react-dnd-html5-backend copied to clipboard

Prevent issue in Firefox when dropping an image

Open smvilar opened this issue 9 years ago • 2 comments

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 #29

smvilar avatar May 11 '16 21:05 smvilar

+1

nicoecheza avatar Aug 24 '16 14:08 nicoecheza

+1

carmon avatar Aug 24 '16 15:08 carmon