jquery.event.ue
jquery.event.ue copied to clipboard
On touch, event.elem_target always = event.orig_target
For mouse events, the elem_target set, when dragging over another element, seems to be the element over which you have dragged.
On touch events, the elem_target seems to always be set as the element being dragged.
This makes it difficult to implement a drop. On mouse, when dragging and dropping, the elm_target is set the element onto which the item was dropped. But for touch, it always remains the original item.
Thanks Noel. Checking now ...
I had to add code to check all divs beneath the drop point, which lets me process the drop for now, but it does prevent hover effects, not being able to retrieve the element.