"Live Drag" with switch feedback #55
Replies: 2 comments
-
I think this is the intention of the pragmatic drag and drop. There used to be a package called react-beautiful-dnd, but they currently "have no current plans for further feature development or improvements" ( https://github.com/atlassian/react-beautiful-dnd?tab=readme-ov-file#%EF%B8%8F-maintenance--support ) Pragmatic Drag & Drop no longer has this "Live Drag" option, but it does make everything faster |
Beta Was this translation helpful? Give feedback.
-
I am currently trying to do something similar - unfortunately, there's no out of the box solution for this. However, it's definitely possible to implement manually - in my case, I have a partial tree structure so I'm using It's very far from straightforward and some parts I'm still working on, but based on what I've succeeded in doing so far, you need to:
The main issue that remains at this point is that the data needs to be referenced from the
Like I said previously, a lot to do to get it to function this way, however I have tried a few different libraries and they all seem to have their pitfalls when it comes to nesting items. In your case, you could probably get away with using a different library which supports re-rendering in real time with animations. For me, I don't have many options, so I'd rather start with a flexible library such as this one and build on top of it to get my desired result. If you're still looking to do this, best of luck. |
Beta Was this translation helpful? Give feedback.
-
Hi all! I am wondering what utilities and adapers I can use to get something like this:
CleanShot.2024-05-17.at.23.32.02.mp4
I think is structurally similar to the grid example, but I could not figure out what to change.
I also found this example but it's outdated.
Thanks for any guidance/help!
Beta Was this translation helpful? Give feedback.
All reactions