Lazy List Drag Reorder

A complete drag-to-reorder state holder for a lazily composed Compose list — pointer offset accumulation, target-index math over the visible window, how the lift animation and the built-in item placement animation must not overlap, edge auto-scroll as a delta the caller drives, and the commit-on-drop contract with the data layer. Use when building reorder, or when a dragged row snaps back to its old slot, jitters as the list re-lays-out under it, commits a move that the user cancelled, or scrolls the list instead of moving the row.

maxrave-dev Updated

File contents

maxrave-dev/kotlin-footguns/tree/main/skills/lazy-list-drag-reorder commit f423f7c569

Frequently asked questions

npx skillmds@latest add maxrave-dev/lazy-list-drag-reorder