neodrag
neodrag copied to clipboard
One Draggable to rule them all 💍
Draggables don't seem to react to window resize events. They can become lost outside of the boundary because of this. Not sure if this is because of something I've done...
I have an idea that when I drag an element, it can be "adsorbed" when it is close to another element. I try to judge whether the distance is less...
Hey @PuruVJ, very cool project, saved me from reimplementing drag on my own. One thing I noticed, when I add a draggable div with {bounds: 'parent'} as a child of...
https://github.com/react-grid-layout/react-draggable/issues/656
When you provide this object to `bounds` ```ts { top: 0, bottom: 20, left: 30, right: 40 } ``` This is fixed to `window`. I am gonna provide a new...
Like `bounds`, but its inward. `bounds` don't allow the element to go out. `obstacles` won't allow it go in the specified area / element
Write proper tests. Use playwright and vitest(Try for one only one, but both just in case)