reppners / ngx-drag-drop

Angular directives using the native HTML Drag And Drop API
https://reppners.github.io/ngx-drag-drop/
BSD 3-Clause "New" or "Revised" License
299 stars 118 forks source link

Moving between lists and triggering move/update while overing #121

Open Dioude opened 1 year ago

Dioude commented 1 year ago

Hello, I have this project where I can do some dnd on a table columns, everything works good and all until I needed to do dnd between 2 tables. The trick is that I did a custom function to be able to trigger the drag and drop while I get over an other draggable column (so I work with dndDragover and not dndDrop).

I manage to get a stackblitz working with my issue, the thing is I lose the Dnd event after I move on item from a list to an other (cursor is forbidden and I can't do any actions). I guess it is probably due to the fact that the dragged item is removed, but am I doing something wrong, or is there a way to keep the drag and drop active after I move items, or manually trigger a "dndStart" ?

https://stackblitz.com/edit/ngx-drag-drop-issue-template-g3j9av?file=src/app/app.component.ts

Best regards