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

Restricting allowed cropping area #1170

Open
hotcoldwave opened this issue May 6, 2024 · 0 comments
Open

Restricting allowed cropping area #1170

hotcoldwave opened this issue May 6, 2024 · 0 comments

Comments

@hotcoldwave
Copy link

Can I implement somehow padding, which will restrict the area inside the image, which I can crop? Seems like adding CSS to some containers doesn't work. Implementation of cropMove event handling is shaky, especially on mobile, when I achieve the edges of the area.

As an example, let's imagine we cannot crop a bigger image than selected here https://fengyuanchen.github.io/cropperjs/

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

1 participant