Skip to content

Different delay from desktop and touch devices #1889

Closed

Description

@Profesor08

How to make delay: 50 on desktop and delay: 200 on touch? If I use delayOnTouchOnly: true, then on desktop delay is 0.

Activity

  1. waynevanson commented on Aug 31, 2020

    @waynevanson
    Contributor

    @Profesor08 You'll have to check what environment the user is running, and change the Sortable.options.delay based off that.

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

      Issue actions