https://codesandbox.io/s/frosty-greider-04e0gb?file=/src/App.js
I am trying to implement a component which is resizable and draggable at the same time. When I used react-beautiful-dnd
for dragging and re-resizable
for reliable div, I am getting some extra space occupied while dragging.
I mean by that is, while dragging, if the placeholder should be of size w x h
, the size that is occupied is 2*w x h
.
Can someone pls help in this?