-
Notifications
You must be signed in to change notification settings - Fork 315
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
Long Press option not working on mobile devices #356
Comments
@a5hik any updates on this ? |
I am also facing same issue. On long press of Item my screen is getting reloaded :-( |
longTouch attribute never gets applied. |
It didn't work for me, although the longTouch option was set to true. I changed the bindDrag function in the ng-sortable.js file to bind longTouchStart and longTouchCancel to the 'touchstart' and 'touchend' events. Now the drag & drop also works on mobile for me. Before change:
After change:
So it seems that some of touch events were bound only on iOS devices. Binding them on every device has solved the problem for me. Maybe there were changes in the events that the browsers produce. |
No description provided.
The text was updated successfully, but these errors were encountered: