You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an application with multiple DndContexts. 1 nested along with 2 side by side contexts.
I have two sortable lists and a parent DndContext, which i want to drag an element from one list to the other
After looking at the docs it seems that its only possibly to have one surrounding context and a single onDragEnd function, which should manage sorting and the dragging between different lists.
I wanted to make sure that a single dnd context was the only way to manage this was the only way to do this with dnd-kit? As I wanted to have the separation of logic instead of everything in one function.
The text was updated successfully, but these errors were encountered:
iamterryclark
changed the title
Multiple Nested DndContexts / Cross list dnd / sortable lists
Parent DNDContext for Cross list dnd / Multiple sortable lists DndContexts
Dec 19, 2024
iamterryclark
changed the title
Parent DNDContext for Cross list dnd / Multiple sortable lists DndContexts
Parent DNDContext for Cross list dnd with nested Multiple sortable lists DndContexts
Dec 19, 2024
I have an application with multiple
DndContexts
. 1 nested along with 2 side by side contexts.I have two sortable lists and a parent
DndContext
, which i want to drag an element from one list to the otherAfter looking at the docs it seems that its only possibly to have one surrounding context and a single
onDragEnd
function, which should manage sorting and the dragging between different lists.I wanted to make sure that a single dnd context was the only way to manage this was the only way to do this with dnd-kit? As I wanted to have the separation of logic instead of everything in one function.
I have created a small sandbox https://codesandbox.io/p/sandbox/5322gl
many thanks in advance
The text was updated successfully, but these errors were encountered: