ngDraggable
ngDraggable copied to clipboard
Do not send click up in dom tree.
This should fix https://github.com/fatlinesofcode/ngDraggable/issues/152
+1
+1 That did the trick for me!
Here two plunker with result before and after the change made by paschty:
http://plnkr.co/edit/xhLgXW0hPxLucQiKt6Q1?p=preview http://plnkr.co/edit/jbZ7DqzUsfchAG3k0qmY?p=preview
Please note that it can be fixed in client side only in desired situations by stopping the mouse down event propagation.
Just add the ng-mousedown="$event.stopPropagation()" to child element.
http://plnkr.co/edit/onwCzYy4mtI8pz1mSoNV?p=preview