question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Drag and Drop from Google images or other window tab

See original GitHub issue

Hi,

It is possible to drag and drop an image from another window tab? When I do that it detects something but it’s empty.

<DropzoneUpload getFile={this.getFileDragged} />

getFileDragged: function(item) {
   if (item.length > 0) {
        this.setState({
           files: item
       });
    }
},

Thank you!

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Reactions:5
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
husacommented, Apr 4, 2016

The exception is thrown

index.js:113 
Uncaught TypeError: Failed to execute 'createObjectURL' on 'URL': No function was found that matched the signature provided.

droppedFiles array is empty.

1reaction
janajricommented, Jan 27, 2017

Also, seeing this when dragging an image between chrome tabs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

You can now drag and drop webpages images and ... - Reddit
You can now drag and drop webpages images and your Google Drive files directly between browser tabs with this new browser extension.
Read more >
How does one drag and drop between browser windows?
Yes, of course. You can see an example of this by visiting photos.google.com then opening your Files app and dragging any image files...
Read more >
Can't drag Google Chrome tabs on your PC? Here are some ...
There have been several reports by users saying that they can't drag Chrome tabs around. If you are one of them, then try...
Read more >
Accept drag & drop of image from another browser window
All I need to know is the URL of the image that they've dragged. I know this is possible, since Google Docs accepts...
Read more >
Google Chrome drag-and-drop won't take over your tab soon
Drag-and-drop is a common workflow, but in browsers like Google Chrome, ... including images and PDFs that you drag over the browser window...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found