moveable icon indicating copy to clipboard operation
moveable copied to clipboard

How can I set clippable constrains?

Open AlexxIV opened this issue 3 years ago • 0 comments

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: wrong

Expected behavior: correct

P.S Congrats on the lib 👍

AlexxIV avatar Jun 10 '22 08:06 AlexxIV