Update drag-n-drop.tsx

pull/5370/head
bunsenstraat 1 year ago committed by GitHub
parent 3a6a90354b
commit 8e251947c3
  1. 4
      libs/remix-ui/drag-n-drop/src/lib/drag-n-drop.tsx

@ -88,10 +88,10 @@ export const Draggable = (props: DraggableType) => {
handleDrop(event)
}}
onDragStart={(event) => {
if(destination && destination.path === '/'){
if (destination && destination.path === '/'){
event.preventDefault()
event.stopPropagation
}else
} else
if (destination) {
handleDrag()

Loading…
Cancel
Save