Closed fitzmode closed 3 years ago
@fitzmode
There are no bounds and snap settings related to clippables yet.
Would really like to have this! I'm building cropping with clippable. Do you think you'll add bounds + snap eventually?
@happylinks @fitzmode
moveable
0.19.1react-moveable
0.22.3preact-moveable
0.21.3ngx-moveable
0.15.1svelte-moveable
0.10.1moveable's new version is released.
clipTargetBounds
prop is added for bound .
clipVerticalGuidelines
, clipHorizontalGuidelines
, clipSnapThreshold
are added for snap.
Try it.
Thank you :)
Environments
Description
Thanks for the update! How can I keep a
Clippable
within bounds of the target?. I would like it to have it such that when I drag theClippable
component, it does not leave the the boundaries of the target.