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

Add option to only apply delay on touch events #1482

Merged
merged 3 commits into from
Apr 20, 2019
Merged

Add option to only apply delay on touch events #1482

merged 3 commits into from
Apr 20, 2019

Conversation

seanogdev
Copy link
Contributor

We're creating a sort of Kanban in our project where the requirements dont allow for drag handles.

Added a new config option that allows you to apply a delay only if the event was a touchevent

@owen-m1 owen-m1 merged commit 640eccd into SortableJS:master Apr 20, 2019
@seanogdev
Copy link
Contributor Author

Thanks @owen-m1!

@robertedjones
Copy link

@owen-m1 thanks for this option. However, it doesn't seem to work on touch enabled laptops. Any suggestions?

@seanogdev
Copy link
Contributor Author

@owen-m1 thanks for this option. However, it doesn't seem to work on touch enabled laptops. Any suggestions?

Not sure it'll help but we had to mess around extensively with the touch-action css property

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants