neodrag
neodrag copied to clipboard
One Draggable to rule them all π
First of all: this is a brilliant library- I've been looking for a drag and drop lib like this for a while. But: I've got a long scrollable list of...
I'm using svelte-neodrag as shown below, and it's working great to scroll content around one of my divs. What I'm wondering is if it's possible to update the position programmatically,...
The `bounds` param breaks short in use cases where the dragged element is bigger than the parent. For example, imagine a pannable graph of `1000 x 1000` pixels shown in...
Right now the `pointerup` and `pointermove` events are added to the `document` and constantly active for every draggable object in screen. The `pointerup` and `pointerup` should be added only inside...
The `pointercancel` event is not being listened to in neodrag core, so if the browser takes control of the pointer the drag won't be stopped.
I'm trying to create a draggable element that's dragged after a certain delay pressing into it and inside a certain distance from the pointer down event. There currently doesn't seem...
Hey there, First off, love this library! I'm using the vanilla version and I'm getting a type error after importing: `Uncaught TypeError: The specifier β@neodrag/vanillaβ was a bare specifier, but...
I guess this ties in a bit with a feature you've named obstacles. As commonly seen in website-builders, or todo-lists, it'd be really useful to have a feature that prevents...
The example in the docs explaining the `position` property works fine ([link](https://www.neodrag.dev/docs/svelte#position)). However, when the options object is passed, the dragged element doesn't update programmatically. For instance, the code below...
Hey I am writing a tiny svelte library which changes size of the elements for which I change transform style of the element, I also rely on this library to...