react-draggable icon indicating copy to clipboard operation
react-draggable copied to clipboard

Merge back into react-draggable?

Open STRML opened this issue 10 years ago • 3 comments

Hello - I maintain react-draggable. Could you elaborate a bit on why this repository exists and what fixes you were unable to get merged?

STRML avatar Aug 04 '15 15:08 STRML

I needed bounded dragging to implement a slider UI in material-ui under a short schedule. To implemented bounded dragging, I needed to change the drag tracking algorithm and the changes grew outside of scope for simply implementing bounded dragging. react-draggable has since implemented this feature and I believe that this repo is no longer necessary.

mikepb avatar Aug 06 '15 17:08 mikepb

@STRML react-draggable doesn't support percentage based dragging. Also pixel based grid isn't very convenient to use. Without these features implemented it is a bit difficult to port material-ui to use react-draggable. Something like "constrain" function from this library will make your version much more flexible.

KapJI avatar Sep 03 '15 21:09 KapJI

Thanks for looking into it @KapJI ! It seems that using react-draggable will take a bit more effort than we thought.

mikepb avatar Sep 04 '15 01:09 mikepb