draggable
draggable copied to clipboard
Trigger swap event on mirror position not mouse position
When swapping elements the swap triggers when the mouse falls over the target. Usually this isn't a problem as the mirror sits on the mouse cursor. However, with mirror.yAxis = false option enabled the mirror can only move along the x-Axis (as desired), but the mouse can move along the y-Axis still. This means the mirror can hover over the target but if the mouse is under the target it doesn't swap.
Is there an option to trigger the swap when the mirror element reaches the target rather than the mouse?
I am having this exact issue. @david-bishop-levelstudio did you found a solution?