Opened 8 years ago

Last modified 6 years ago

#17932 new defect

dojo/dnd/Source receive wrong 'onDraggingOut()' 'onDraggingOver()' function calls

Reported by: ManuAir Owned by:
Priority: undecided Milestone: 1.15
Component: DnD Version: 1.9.3
Keywords: Cc:
Blocked By: #17931 Blocking:


I experienced a strange problem with dojo/dnd when I'm dragging an element inside a <div> handled by the Source class.

if I swipe the mouse from left to right, the Source class receive only one onDraggingOut() call (even if the mouse is really inside the div)

if I swipe from right to left, the Source receive multiple calls of the methods onDraggingOver() and onDraggingOut() something like every one/two pixels of movement.

if I swipe from right to left only by one pixel, the Source receive a single onDraggingOver() call, and after a short time, like 0.8 seconds, it receive a onDraggingOut() call.

I experienced this problem only with Chrome, Firefox and IE seems to be not affected.

After some debugging I think that, Firefox and IE are not affected because in this browser the lines of code from row 37 to row 51 in the file dojo/touch.js, are not executed. In IE because there is a special handling, and in FF because has("touch") returns false (incorrectly)

Change History (3)

comment:1 Changed 8 years ago by bill

Blocked By: 17931 added

comment:2 Changed 7 years ago by dylan

Milestone: tbd1.12

comment:3 Changed 6 years ago by dylan

Milestone: 1.131.15

Ticket planning... move current 1.13 tickets out to 1.15 to make it easier to move tickets into the 1.13 milestone.

Note: See TracTickets for help on using tickets.