@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.
@@ -9758,6 +9758,8 @@ function Droppable(props) {
9758
9758
  const node = (jsxRuntimeExports.jsx(PrivateDraggable, { draggableId: dragging.draggableId, index: dragging.source.index, isClone: true, isEnabled: true,
9759
9759
  // not important as drag has already started
9760
9760
  shouldRespectForcePress: false, canDragInteractiveElements: true, children: (draggableProvided, draggableSnapshot) => render(draggableProvided, draggableSnapshot, dragging) }));
9761
+ if (!getContainerForClone)
9762
+ return null;
9761
9763
  return ReactDOM.createPortal(node, getContainerForClone());
9762
9764
  }
9763
9765
  return (jsxRuntimeExports.jsxs(DroppableContext.Provider, { value: droppableContext, children: [children(provided, snapshot), getClone()] }));