We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49c890b commit 23693a1Copy full SHA for 23693a1
angular-drag-and-drop-lists.js
@@ -97,6 +97,10 @@
97
// Check whether the element is draggable, since dragstart might be triggered on a child.
98
if (element.attr('draggable') == 'false') return true;
99
100
+ // merge the pull-request: do not start drag if dnd-nodrag && no dnd-handle #432
101
+ // https://github.com/marceljuenemann/angular-drag-and-drop-lists/pull/432
102
+ if (element.attr('dnd-nodrag') !== undefined && !event._dndHandle) return false;
103
+
104
// Initialize global state.
105
dndState.isDragging = true;
106
dndState.itemType = attr.dndType && scope.$eval(attr.dndType).toLowerCase();
0 commit comments