ObaidUrRehman / ng-drag-drop

Drag & Drop for Angular - based on HTML5 with no external dependencies. :tada:
MIT License
239 stars 123 forks source link

Apply droppable.dragOverClass only on parent droppable element #15

Closed ObaidUrRehman closed 7 years ago

ObaidUrRehman commented 7 years ago

Must apply droppable.dragOverClass only on parent droppable element. Currently it applies that class to element that is under the mouse on hover. This behaviour is confusing because it misleads the user in thinking that they are different drop-off areas.

See the plunkr demo: http://plnkr.co/edit/2bjGgzWnbFrciEiCKLew?p=preview