I found this solution not compatible with mobile browsers (tried chrome on android and safari on iphone6), I'm not sure about the reason. https://stackoverflow.com/a/13140041/5013297 There is another way to make a selection undraggable?
Asked
Active
Viewed 71 times
1
-
The event is probably called `touch.drag` on mobile devices. – Lars Kotthoff Oct 22 '15 at 22:44
-
Nop, I just tried. I solved simply applying the drag behaviour to a selection, not all the circles and then remove from selection. `d3.selectAll('.drag').call(force.drag)` – alfredopacino Oct 23 '15 at 13:25