react-draggable
react-draggable copied to clipboard
React draggable component
Add clsx@2 to the package.json.
Strange "Ghost" Silhouette of Draggable Element When Using Non-integer (i.e., numbers with decimals)
If you set the state of a Draggable element's `position` to a non-integer (i.e., a number with decimals, like 123.4), you will get a strange silhouette of the element when...
https://github.com/react-grid-layout/react-draggable/blob/2c3aa84352ca8eaed42a9ac0b59a1187e7850b6a/package.json#L99 Under `pnpm` this package will not have `@types/react` when type checking is used. It should specify it as a peer dependency as it is assumed to be needed. We...
Hi, Is it possible to drag multiple draggable instances at once? I’m using _draggable_ to manipulate geometric shapes. The objects are in different positions in DOM model, so I can...
Hi, I'm making a windowing system (for which, thanks for your utility). But there's something odd. When I click on the title (which is the handle) of the pictured window,...
Hello, How to test react-draggable? I try to do it by following code but it is not working (spy is not called): ``` describe(' component:', () => { let wrapper;...
``` {resizeElement} ``` 
I create a DOM in react-draggable, now I rotate the DOM since react-draggable will set a transform property inside the DOM when render, it makes my transform rotate properties not...
If I have a component that looks like this: ```jsx const Foo = () => { const [state, setState] = useState(null); const renderBar = () => { if (state) {...
Is it possible to use the `top/left` css properties instead of `transform`? ...or alternatively, keep using `transform` for dragging but then set reset its value on `onDragStopped` (and move the...