Skip to content
Advertisement

Tag: kanban

How do you use state variables to make a nested drag and drop in React / Kanban board not working in React

Context: The main issue I am trying to solve is that stopping the propagation on an onDragStart event handler (via e.stopPropagation()) is disabling the drag-drop functionality all together. However, when I try to set a flag in the state, to stop drag-drop events to fire on parent elements; the flag does not work/ the state does not set in time

Advertisement