moxiecode / moxie

Pollyfills for XHR2 and File API
GNU Affero General Public License v3.0
483 stars 134 forks source link

mOxie.FileDrop events (dragenter,dragLeave) bubble #140

Closed JohnRSim closed 9 years ago

JohnRSim commented 9 years ago

If I drag something over #someDOM the ondragleave event is called even though I am still over #dropRegion filedrop area.

I can drop into someDOM and ondrop event is called - so it is possible if I drag over #someDOM for the ondragleave not to be called as I'm still in the #dropRegion container but hovering over a different layer.

var fileDrop = new mOxie.FileDrop('dropRegion');
<div id="dropRegion" style="width:20px;height:20px;">
    <div id="someDOM" style="width:10px;height:10px;"></div>
</div>
aik099 commented 9 years ago

This happens in any browser/os or a specific combination of browser+os?

JohnRSim commented 9 years ago

I have only tried in Chrome 45.0.2454.37 beta-m (64-bit) at the moment in win 8.1