Closed
Bug 1226492
Opened 9 years ago
Closed 9 years ago
Javascript dragenter / dragleave called then it should not be called
Categories
(Core :: DOM: Copy & Paste and Drag & Drop, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 812807
People
(Reporter: nagylzs, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0 Build ID: 20151029151421 Steps to reproduce: Steps to reproduce: http://jsfiddle.net/82zbdxon/19/ drag a file over the div and start moving it slowly. Detailed description: http://stackoverflow.com/questions/33803580/possible-bug-with-jquery-dragenter-dragleave Actual results: dragenter/dragleave is called several times, event though the file is continuously over the div element Expected results: dragenter should have been called ONCE when the drag entered the element. dragleave should have been called ONCE when the drag left the element.
Comment 1•9 years ago
|
||
The text node causes a dragenter and dragleave (in that order, see bug 631713), so the drag effect gets set first (again) and then removed.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Component: Untriaged → Drag and Drop
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•