Open tetron432 opened 1 year ago
Assuming you meant this react-draggable library, then yes, you can.
Just remember to put the Resizable
component inside Draggable
or DraggableCore
, and not the other way around, else it wouldn't work.
This doesn't seem to work as shown in the codesandbox below. Can you please help us figure out how to structure it in the correct way?
https://codesandbox.io/s/fervent-cerf-0z335q?file=/src/components/Line.tsx
This comment provides a workaround: monkey-patch a e.stopPropagation()
.
Thanks for opening an issue!
Please select the type of issue you're reporting. For questions.
Problem Report
Can I use this library together with React-Draggable, by any chance?