Repository navigation
Breaking Changes
- Replace
react-dndandreact-dnd-html5-backendwith@dnd-kit/core(^6.3.1) as a peer dependency, removing the global HTML5 backend singleton conflict (#319) so each<Tree>owns its<DndContext>. Node renderers usingref={dragHandle}keep working unchanged while customrenderRowcomponents receive drag listeners onattrs(and must spread{...attrs}while composing pointer/mouse/touch handlers);<DragOverlay>now renders drag previews soDragPreviewPropsdropsoffsetandmouseand the preview mounts only during an active drag withisDraggingalwaystrue(so previews that animated out onisDragging === falsewill not get that render);XYCoordis defined locally; pointer-onlysensors(noKeyboardSensor) andaccessibilityprops are added;dndBackend,dndManager,dndRootElement, anddragTypeare removed rather than deprecated; and capabilities tied toreact-dndor native HTML5 drag and drop (externalreact-dndtargets, OS/cross-app drops, iframedndRootElement, and shared multi-tree<DndContext>tracked in #396) are dropped (see "Migrating from v4" in the README). (#391)