You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Above all I want to say thank you to build the easiest library to use!
But, I am wondering If the example is actually working.
I can drag but It does not fix on the drop target.
This is the code that i use
**problem : ** drop is not working. It is able to drag but when I drop on the p tag. it comes back right away. purpose : I want to put "drag" div on the droptarget sentence. so that it can be fixed not moving.
`import { DragDropContainer, DropTarget } from 'react-drag-drop-container';
Drag Me!
I'm a valid drop target for the object above since we both have the same targetKey!
`
The text was updated successfully, but these errors were encountered:
If you refer to "Demo: Drag in the directions indicated" the drop doesn't work cause you must implement onDrop or onHit handler for fix element on DropTarget.
Above all I want to say thank you to build the easiest library to use!
But, I am wondering If the example is actually working.
I can drag but It does not fix on the drop target.
This is the code that i use
**problem : ** drop is not working. It is able to drag but when I drop on the p tag. it comes back right away.
purpose : I want to put "drag" div on the droptarget sentence. so that it can be fixed not moving.
`import { DragDropContainer, DropTarget } from 'react-drag-drop-container';
I'm a valid drop target for the object above since we both have the same targetKey!
`The text was updated successfully, but these errors were encountered: