Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Sortable handle, drag from the right, not the left #281

Open
@faridguzman91

Description

Hello,

I am trying to make the drag animation start at the right where the handle also is

draganim2

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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /