KamoCRM

Live "insert between" while dragging, not just drop-to-swap

Featurekamo-internal
Shipped
9 ஜூலை, 2026 அன்று 4:28 AM UTC
Author
kamo
Commit
f963bfd

Previously the order only changed on drop, so it read as swapping into a slot. Now the list re-flows live as you drag: dnd-kit onDragOver moves the dragged option to the hovered option's slot (arrayMove), so the member sees exactly where it will land between the others. useHomeLayout.move advances its order ref synchronously so consecutive drag-over events compose correctly, and takes a save flag so the live preview skips writes; the final order persists once on drop via a new commit().

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing