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 holdToDrag on the same page #137

Open
rmeshksar opened this issue May 31, 2018 · 1 comment
Open

Different holdToDrag on the same page #137

rmeshksar opened this issue May 31, 2018 · 1 comment

Comments

@rmeshksar
Copy link

Hi,
This is my use case:
On the same page there are different draggable items. for some of them, there is explicit drag handle and user should be able to drag them using the handle without any delay.
For some other items, dragging gets enabled by touching and holding it for one second.

Is there any way to handle this considering holdToDrag option is global?

Thans.

@reppners
Copy link
Collaborator

At the moment this is not possible, it would take some refactoring and introducing an attribute to put on the draggable element that the polyfill then can use to determine the holdToDrag option for the individual item.

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

No branches or pull requests

2 participants