HTML5 Drag and Drop - Chrome Not Working?

The W3C standard defines seven event types for drag and drop,  Pretty cool to have so many options, but the nieve reader may be surprised to learn how they work together. Specifically, for people binding to the "drop" event.

The default behavior of the dragover event is described as such, "Reset the current drag operation to 'none'". So what does this mean for developers binding to the drop event? It means, that unless you prevent the default behavior of dragover, your drop event will not fire. This is not a fun one to learn on your own.


Crirus said…
how would I prevent the default though?

Recent posts