@helpdice/draggable 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9738,6 +9738,8 @@ function Droppable(props) {
9738
9738
  const node = (jsxRuntimeExports.jsx(PrivateDraggable, { draggableId: dragging.draggableId, index: dragging.source.index, isClone: true, isEnabled: true,
9739
9739
  // not important as drag has already started
9740
9740
  shouldRespectForcePress: false, canDragInteractiveElements: true, children: (draggableProvided, draggableSnapshot) => render(draggableProvided, draggableSnapshot, dragging) }));
9741
+ if (!getContainerForClone)
9742
+ return null;
9741
9743
  return ReactDOM.createPortal(node, getContainerForClone());
9742
9744
  }
9743
9745
  return (jsxRuntimeExports.jsxs(DroppableContext.Provider, { value: droppableContext, children: [children(provided, snapshot), getClone()] }));