ngDraggable icon indicating copy to clipboard operation
ngDraggable copied to clipboard

ng-drag-handle is not working

Open kirillbuga opened this issue 10 years ago • 4 comments

var dragHandles = element.find('[ng-drag-handle]');"

JLite 'find' calls findElementsByTagName under the hood, thus it will never find [ng-drag-handle] attribute.

"angular": "1.4.7", "ngDraggable": "0.1.8",

kirillbuga avatar Dec 30 '15 13:12 kirillbuga

change : var dragHandles = element.find('[ng-drag-handle]'); by : var dragHandles = angular.element(element[0].querySelectorAll('[ng-drag-handle]'));

line 48

delmotte avatar Jan 25 '16 15:01 delmotte

Yeah, I've done this. Do you want me to make a pull request for this? You know, it's not as that good to have a custom build for library.

kirillbuga avatar Jan 25 '16 22:01 kirillbuga

Yes i will do it when i'll have time :)

delmotte avatar Jan 28 '16 17:01 delmotte

is there a pull request for this?

kresli avatar Apr 06 '16 14:04 kresli