I have a drag and drop problem and am seeking advice for IE11 implementations.
The drag and drop API for IE11 is not robust, and I'm trying to squeeze as much usability out of this as is possible
Couple of questions -given the following simple example:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<div draggable="true" style="border:1px solid red; width:250px;">DRAG ME</div>
<div style="width:500px;height:250px;border:1px solid blue" ondragover="event.preventDefault();return false">
TO HERE
</div>
</body>
</html>
https://jsbin.com/givuwokuxe/1/edit?html,js,output
a) If you notice - while dragging, it changes to an arrow with a plus sign (cursor: copy) How do I change the cursor from cursor: copy to cursor: move whilst dragging? Is this even possible?
b) Regarding the "drag ghost" element - is there any way to get the coordinates of that ghost element on dragEnd (instead of relying upon event.clientX/event.clientY)? I want to know because I'm moving this element, and am having a problem with WYSIWYG dragEnd since I'm positioning this x/left and y/top coordinate placement. If I drag on the right side of the element, and then dragEnd, the placement of the element is slightly offset and not exactly where the ghost was placed.
Thanks