event.dataTransfer is undefined
See original GitHub issueUnder the last Chrome version, the dataTransfer
attribute is undefined
on event
object.
Issue Analytics
- State:
- Created 9 years ago
- Comments:11 (4 by maintainers)
Top Results From Across the Web
e.dataTransfer is undefined - Stack Overflow
I added this into my onDragStart function but it tells me that datatrasnfer is undefined: code... onDragStart(event) { event.dataTransfer ...
Read more >event.dataTransfer is getting undefined in JEST for dragstart
Jest ships with the jsdom and you can see that the dataTransfer is not yet implemented and hence you are receiving the error...
Read more >file drop event dataTransfer undefined - jQuery - Bug Tracker
e.dataTransfer undefined. } not using jquery: $("#dropbox")[0].addEventListener("drop",function(e){. e.dataTransfer.files works as expected. },false);.
Read more >DataTransfer.setData() - Web APIs | MDN
The DataTransfer.setData() method sets the ... Return value. None ( undefined ). ... Use the event target's id for the data ev.dataTransfer.
Read more >Drag and Drop, dataTransfer.getData("URL") returns undefined
Issue 2141: Drag and Drop, dataTransfer.getData("URL") returns undefined ... string) on IE and on Safari). ... the ondrop event. For the most basic...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
try this
@BuonOmo I am having the same issue. I use knockout.js. @larvata solution worked for me.