AndrewPixel
AndrewPixel
I solved it by writing my own code to resize an element. It's nowhere near as full featured as Moveable but at least I got the resizing working the way...
Thanks, your code was trivial to implement - wish I'd known about it a year ago.
It's not ideal though having a situation users "know" how to deal with is much better than it was.
I'd like to second this request and also add to set: alpha and line width. On my current project the client wants a tool bar on a separate pane. I...
Here's a pen: [snap](https://codepen.io/lovecodepen/pen/GggRGxY) If you resize the window it updates the snap value but when you grab an item you'll see the snap value is unchanged:
Setting `snap: () => snap` works well. Thanks, it's just what I needed. If I press and hold the mouse button down and resize the window 4 times (pausing at...
Here a [pen](https://codepen.io/lovecodepen/pen/MYYYrrq) Open the console and resize the window but keep the mouse button down and pause occasionally. It doesn't happen as much as on my machine but more...
Hmm, within the pen it seems to be working correctly but as a standalone HTML page it isn't. See for yourself. Here createDraggable is called only once yet resizing the...
Yes, draggable.revert() made no difference. I "fixed" it by adding `if (!t) return:` to the updateBoundingValues function.
Perhaps having a destroy() method that removes all event listeners would be appropriate?