-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Delay option has no effect on Android devices #1556
Labels
Comments
Interesting. I can already tell it's because it is not being detected as a touch event, since disabling |
owen-m1
added a commit
that referenced
this issue
Jul 3, 2019
Should be fixed in commit a09bddb. |
Thanks for the fix @owen-m1 👍 Is there a timeline for when this would make it into a build (1.10.0-rc3 perhaps)? |
@barryels 1.10.0 will be ready soon I hope |
elo7-developer
pushed a commit
to elo7/Sortable
that referenced
this issue
Nov 18, 2019
Runi-c
pushed a commit
to Tupperbox/Sortable
that referenced
this issue
Nov 10, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem:
In short: The
delay
option has no effect on Android devices.I want to set a delay before a drag event starts so that you can scroll the list without accidentally starting to drag an item. The
delay
option is the proper solution for this and it works fine on iOS12. On the Android devices I tested, the delay is ignored and the drag event starts immediately, which prevents the user from scrolling the list.I could reproduce the issue with Sortable.js/1.9.0 as well as 1.10.0-rc3
Devices/browsers tested:
The issue was originally reported in nextcloud/tasks#457.
JSBin/JSFiddle demonstrating the problem:
See this example: https://codepen.io/raimund-schluessler/pen/EBRxdz
On iOS the drag only starts after to hold an item for 500 ms, which enables scrolling. On Android, this does not work and dragging starts immediately.
Used Sortable config
The text was updated successfully, but these errors were encountered: