ngdraggable

When used in table cell(td), ngDraggable not giving target container attributes where an item is being dropped

不羁的心 提交于 2019-12-11 14:17:36
问题 As mentioned in Question it always gives the object/attributes of the item being dragged rather than the item on which it is being dropped. This issues comes when ng-drag and ng-drop is used on table cell/row. I Searched on forums but there was no solution given. Later found that it is mentioned in ngdraggable forums that it does not support table. 回答1: I have fixed the issue for self by passing additional attributes in case of drop event Below are the code changes inside directive. I am