ListBox DnD with grid layout #6166
-
I might be asking for major trouble here, but I'm just curious if anyone has had success implementing drag-and-drop for a ListBox's grid layout (either horizontal or vertical) implies boxes that flow in two dimensions, and it appears tricky to get this to behave well in a drag-and-drop scenario. If anyone can dig up some relevant sample code, I'd really appreciate it. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Oh, wow, I played around with it and found that it's a lot easier than I was making it out to be. Here's an example: https://codesandbox.io/p/sandbox/dazzling-galois-yq4322 |
Beta Was this translation helpful? Give feedback.
Oh, wow, I played around with it and found that it's a lot easier than I was making it out to be. Here's an example: https://codesandbox.io/p/sandbox/dazzling-galois-yq4322