daybrush / moveable

Moveable! Draggable! Resizable! Scalable! Rotatable! Warpable! Pinchable! Groupable! Snappable!
https://daybrush.com/moveable/
MIT License
10.08k stars 618 forks source link

Help request: Stop moving component and show bound in methods onRotate, onResize #106

Closed nkushniruk closed 4 years ago

nkushniruk commented 4 years ago

Hi, could you help me in using react-movable. I need to use bounds in methods onRotate, onResize same as in a onDrag method - stop moving "moveable component" and show bound. image

As in the picture during onDrag How to achieve this during onRotate, onResize execution? Thank you!

daybrush commented 4 years ago

@nkushniruk

onResize implements snappable & bounds if not keepRatio.

Unfortunately, onRotate is not implemented.

daybrush commented 4 years ago

@nkushniruk

Moveable 0.14.0 is released. Thank you :)