Why not drag in mobile devices?

Made a event script drag and drop.
But the mobile is not working, even though I banned the touchstart event.
Help to correct, please!

UPD Added listeners
'ontouchstart' in window ? analogamente : analogcommunication

As a result, in mobile devices the script starts running, but immediately crashes error Uncaught TypeError: Failed to execute 'elementFromPoint' on 'Document': The provided double value is non-finite.
at HTMLDocument.onMouseMove

This piece of code
newTarget.style.display = "none";
 elemBelow = document.elementFromPoint(event.clientX, event.clientY);
 newTarget.style.display = "";

I define the item, which is under the dragged element.

https://codepen.io/xraider/pen/ZEYmWqX
April 4th 20 at 12:56
0 answer

Find more questions by tags JavaScript