moveable icon indicating copy to clipboard operation
moveable copied to clipboard

How can I snap the clipped rectangle instead of the full rectangle?

Open xquelard opened this issue 2 years ago • 2 comments

(Sorry @daybrush , I opened a discussion about that subject here : https://github.com/daybrush/moveable/discussions/522 , but I though an issue was maybe a better place to discuss this? feel free to delete one of the post, I just didnt know where to put it)

Capture d’écran 2021-08-27 à 18 07 15

First of all, thanks for that wonderful project, it's just amazing and really useful!

Now, about my question, basically, I would like to get the snappable behaviour on the green rectangle instead of the blue one, is there a way to archieve that?

I've browsed the documentation for quite some time and did not found something useful for this, but it might just be that i'm really new to that project..

Anyway, any help would be appreciated :)

xquelard avatar Aug 30 '21 10:08 xquelard

@xquelard

Use clipArea prop to true

daybrush avatar Oct 28 '21 02:10 daybrush

@xquelard

Use clipArea prop to true

It doesn't work

Raserad avatar Jan 25 '22 13:01 Raserad