Dragging doesn't work on touch screen
I have this piece of code for the dragging element
<div class="row" ng-drag="true" ng-drag-data="obj" data-allow-transform="false" ng-drag-success="onDragComplete($data,$event)" ng-center-anchor="true">
This works well on computer but not on mobile. The div moves a little bit and gets the classname dragging but no more. Any idea ?
This is fixed in PR #175 ... not sure why it's not merged yet.
I managed to make it work by inserting angular.js before jQuery but not quite a good solution.
If you have a little time pls try this branch https://github.com/tsanko/ngDraggable https://github.com/tsanko/ngDraggable … if it’s working for you pls up-vote the PR.
On Sep 21, 2015, at 9:21 AM, Micaël [email protected] wrote:
I managed to make it work by inserting angular.js before jQuery but not quite a good solution.
— Reply to this email directly or view it on GitHub https://github.com/fatlinesofcode/ngDraggable/issues/189#issuecomment-142033031.
Which branch ? I think the link is wrong
it’s not wrong … I cloned the original project and used this branch to fix the drag problem with mobile devices
On Sep 21, 2015, at 10:35 AM, Micaël [email protected] wrote:
Which branch ? I think the link is wrong
— Reply to this email directly or view it on GitHub https://github.com/fatlinesofcode/ngDraggable/issues/189#issuecomment-142052002.