Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature request] Select only clipped area #1113

Open
zaqqaz opened this issue May 3, 2024 · 5 comments
Open

[feature request] Select only clipped area #1113

zaqqaz opened this issue May 3, 2024 · 5 comments

Comments

@zaqqaz
Copy link

zaqqaz commented May 3, 2024

It will be great to have an option that if our element is clippabale (same as dragable/resizeble etc.) that once it clipped and selected again we have selected only clipped area without empty paddings due to clip.

@zaqqaz
Copy link
Author

zaqqaz commented May 15, 2024

I was meaning such functionality:

but was already able to implement on top of existing handlers.

Though, still will be cool to see it supported of the box by the library

Screen.Recording.2024-05-15.at.15.38.15.mov

@lh-sn
Copy link

lh-sn commented Sep 5, 2024

crop.mp4

I had to work on something similar too

@HZZformGD
Copy link

crop.mp4
I had to work on something similar too

bro, this is what i need, can you tell me how to do this ? @lh-sn

@lh-sn
Copy link

lh-sn commented Sep 7, 2024

@HZZformGD
Copy link

@HZZformGD you can se something here:

https://github.com/xorb/interactify/blob/main/apps/sample/src/App.tsx

I have seen the code in the github link you sent, but I tried running it and found that it does not seem to behave exactly the same as your video, even if I tried to add some code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants