neodrag
neodrag copied to clipboard
One Draggable to rule them all 💍
When I create a draggable div, everything seems to work fine, even with most elements inside of it. However, when I put an `img` tag inside, and drag using the...
When (and condition): - you _bound_ prop is something like `body` or `parent`, - your _grid_ prop is set Moving the draggable element causes the container on _bound_ to "snap"...
The problem is if the user clicks/taps the draggable object, it wrongly report as if it was moved to position 0,0, while infact it was left at its initial position....
Sometimes the window/container got resized, or the element's size changes, and its height is larger than its `bounds`. If I drag it at this moment, it will got shrink. But...
I am going to use it in the case of multiple nodes and repetition of `node.append/node.remove`. This can cause problems because `removeEventListener` can not properly find the corresponding Listeners, leaving...