Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different delay from desktop and touch devices #1889

Closed
Profesor08 opened this issue Aug 19, 2020 · 1 comment
Closed

Different delay from desktop and touch devices #1889

Profesor08 opened this issue Aug 19, 2020 · 1 comment
Labels
question questions from the community

Comments

@Profesor08
Copy link

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

@waynevanson waynevanson added the question questions from the community label Aug 31, 2020
@waynevanson
Copy link
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
Labels
question questions from the community
Projects
None yet
Development

No branches or pull requests

2 participants