DEV Community

Discussion on: What are best practices for persisting positions when using drag & drop?

 
stenpittet profile image
Sten

Thanks, I fixed the typo and yes there's a second statement to push things up when moving down. This was totally inspired by this StackExchange post.

There are also some other statements to push compact list 1 and push things down in list 2 when moving things from list 1 to list 2.