Dragster

HTML5 dragenter & dragleave events suck.

Dragster fires custom events that behave more like mouseenter or mouseleave (or CSS's :hover) that make it easier to deal with complex dropzones with child elements.

Give it a try! The dropzone on the left is listening HTML5's events and the dropzone on the right is listening for Dragster's.

No Dragster

This is a complex dropzone with child elements.

You might have hints telling your users to

Drop a file here!

or a backup file input:

Dragster!

This is a complex dropzone with child elements.

You might have hints telling your users to

Drop a file here!

or a backup file input:

Drag me!
Events fired:
Do some dragging to see events…

bower install dragster

or

Download & docs on GitHub