svelte-dnd-action
svelte-dnd-action copied to clipboard
Event for getting current position
I have implemented some dnd stuff myself and found that I really wish for a way to retrieve the current position while dragging, so that I can potentially reconfigure the dragged element to be position: absolute;
. I know you're using translate3d, but that would work the same way. Maybe an event on every movement would be overkill.
I also thought about a separate dropzone for whiteboard-like absolute positioned dnd and then just changing the drag-elements type when dragging it over a different dropzone. Then just react to data changes.
🤔