ngDraggable icon indicating copy to clipboard operation
ngDraggable copied to clipboard

Do not send click up in dom tree.

Open sebhofmann opened this issue 10 years ago • 3 comments

This should fix https://github.com/fatlinesofcode/ngDraggable/issues/152

sebhofmann avatar Aug 25 '15 11:08 sebhofmann

+1

tsanko avatar Aug 25 '15 17:08 tsanko

+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

faelcorreia avatar Oct 05 '15 23:10 faelcorreia

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

fracz avatar Oct 06 '15 08:10 fracz