Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: properly shuffle around sortables when draghandle is separate div #111

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

CallumJHays
Copy link

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 CallumJHays marked this pull request as ready for review June 6, 2024 11:04
@martinpengellyphillips
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants