In Windows 10, by default, if you move an element at least 4 pixels and drop it, it will cancel the drag and drop operation. You can change this threshold to suit your needs.
Function to change the drag threshold SystemParametersInfo .
SystemParametersInfo writes values to their registry key [HKEY_CURRENT_USER \ Control Panel \ Desktop] as DragHeight and DragWidth.
You can change the values there.

source share