solid-dnd icon indicating copy to clipboard operation
solid-dnd copied to clipboard

fix: properly shuffle around sortables when draghandle is separate div

Open CallumJHays opened this issue 1 year ago • 3 comments

Hi, thanks for all your work on this awesome library!

I tried implementing the separate drag handler with sortable as described in #84, but I noticed that the sortables weren't shuffling around as I dragged it around anymore. I think I narrowed down the problem, with a fix that I've included in this PR.

Before: ezgif-7-21591bd13f

After: ezgif-7-d7cc2cf7d2

Let me know if there's anything you'd like to change about the implementation, or feel free to edit it yourself. I'm not the most attentive to github notifications, but I'll try my best to respond 😅

CallumJHays avatar Jun 06 '24 10:06 CallumJHays

Oh, interesting. I'll take a closer look at this next week and see about merging it in. Thanks!

martinpengellyphillips avatar Jun 20 '24 17:06 martinpengellyphillips

@martinpengellyphillips sorry for pinging, but I would love this fix to be available 😅

Nesquiko avatar Jan 26 '25 12:01 Nesquiko

@martinpengellyphillips any updates on this?

asfand987 avatar Sep 10 '25 21:09 asfand987