Skip to content

[bug] Docs for "delay" are not exact possibly misleading. #1851

Open
@andreElrico

Description

@andreElrico

Describe the bug

from github readme

delay option
Time in milliseconds to define when the sorting should start. Unfortunately, due to browser restrictions, delaying is not possible on IE or Edge with native drag & drop.

and

delay: 0, // time in milliseconds to define when the sorting should start

despite the fact delay is to generic and should be called dragStartDelay.

delay is the time passed after click when the "dragging starts".

sorting is the interation of two draggable items.

we might therefore click and drag but never sort. (when we dont interact with any item)

Expected behavior
from:

delay option
Time in milliseconds to define when the sorting should start. Unfortunately, due to browser restrictions, delaying is not possible on IE or Edge with native drag & drop.

to:

delay option
Time in milliseconds to wait after the user has put their pointer down before the element starts to drag. Unfortunately, due to browser restrictions, delaying is not possible on IE or Edge with native drag & drop.

from:

delay: 0, // time in milliseconds to define when the sorting should start

to:

delay: 0, // Time in milliseconds to wait before the element starts to drag.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions