JSFiddle - React, Tailwind, and code Playground

HTML

<link rel="stylesheet" href="http://www.jeasyui.com/easyui/themes/default/easyui.css">
<script src="http://www.jeasyui.com/easyui/jquery.easyui.min.js"></script>
<div id="a" style="width:200px;height:200px;border:1px solid #ccc"></div>

JavaScript

$('#a').draggable({
                 revert: false,
                 //            proxy: 'clone',
                 onStartDrag: function (e) {
                     $(this).draggable('options').cursor = 'not-allowed';

                 },
                 onStopDrag: function (e) {
                     alert('stop drag');
                 }
             });