moveable
moveable copied to clipboard
How can I set clippable constrains?
Environments
- Framework name: React
- Framework version: 17.0.1
- Moveable Component version: 0.33.0
- Testable Address(optional):
Description
I want to set a min width / height for clippable or stop the event when certain bounds are hit because I'm using the library for image cropping and when we invert the selection it produces some unexpected results.
Behavior:

Expected behavior:

P.S Congrats on the lib 👍