Skip to content

[feature] delay sorting of an individual draggable item. #1848

@andreElrico

Description

@andreElrico

Is your feature request related to a problem? Please describe.
Here is an reproducible example of my problem.

stackblitz editor
stackblitz fullscreen demo

  1. go to stackblitz fullscreen demo
  2. drag item 5 INTO the container below (container contains item11-20, has black-border)
  3. Its "difficult" to do because item 5 will interact with the container-element first. A jerky UX is prominent.

Describe the solution you'd like

I want to add a sorting_delay to the container element ONLY. The default sorting behavior of all other items is awesome.
This sorting_delay will give me enough time to interact with the container-items (item11-20) if needed/ wanted.

Describe alternatives you've considered

  • Trying out a few options of the API did not get me anywhere yet.
  • Also I have no clue how to apply options to an INDIVIDUAL draggable-item.

Additional context
please investigate stackblitz links above

Activity

waynevanson

waynevanson commented on Aug 31, 2020

@waynevanson
Contributor

@andre-gois Is there any reason why you're not using the Angular bindings?

  • Also I have no clue how to apply options to an INDIVIDUAL draggable-item.

You need to select an element individually. You're currently selecting all elements that have .nested-sortable class. You'll need another variation to identify which elements to apply new sortables to.

wawyed

wawyed commented on Mar 22, 2021

@wawyed

I came across a similar issue in my scenario. Is there a way that this could be looked into ? Thanks a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionquestions from the community

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @wawyed@waynevanson@owen-m1@andreElrico

        Issue actions

          [feature] delay sorting of an individual draggable item. · Issue #1848 · SortableJS/Sortable