Sortable handle, drag from the right, not the left
faridguzman91 opened this issue · 0 comments
faridguzman91 commented
Hello,
I am trying to make the drag animation start at the right where the handle also is
i am using this script, do i need to fix offset?
<script> $(function () { $("ol.leerrails_list").sortable(); }); $("ol.leerrails_list").sortable({ group: 'no-drop', handle: 'i.fa-sort', onDragStart: function ($item, container, _super) { // Duplicate items of the no drop area if(!container.options.drop) $item.clone().insertAfter($item); _super($item, container); } }); </script>