mirror of
https://github.com/cpvalente/ontime.git
synced 2026-09-17 12:03:03 +00:00
f4e70e6e99
dnd-kit measures the drag overlay's first child and uses that rect for collision detection. A preview smaller than the row it represents shifts the collision centre and, with closestCenter, the resulting drop position. The preview now fills the overlay wrapper, which dnd-kit sizes from the dragged element, keeping drop targeting identical to before the overlay. Also drops the redundant drag cancel wrapper. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TEnUVARPnSqXijiz8KiLiE