Skip to content

Add cropper selection options#640

Merged
aarondrabeck merged 6 commits intomasterfrom
feature/cropper-updates
May 28, 2025
Merged

Add cropper selection options#640
aarondrabeck merged 6 commits intomasterfrom
feature/cropper-updates

Conversation

@AbandonedFridge
Copy link
Copy Markdown
Member

  • Adds constrainSelectionTo to allow constraining selection to image or canvas
  • Adds maximizeSelection to fit initial selection to image

@AbandonedFridge AbandonedFridge marked this pull request as draft May 23, 2025 20:38
@AbandonedFridge AbandonedFridge marked this pull request as ready for review May 27, 2025 23:28
aarondrabeck

This comment was marked as resolved.

@AbandonedFridge
Copy link
Copy Markdown
Member Author

This seems to break the cropper with the default options:

Master: image

This PR: image

Should work now. Forgot to do a null check.

@aarondrabeck aarondrabeck merged commit 4fdb451 into master May 28, 2025
1 check passed
@aarondrabeck aarondrabeck deleted the feature/cropper-updates branch May 28, 2025 21:10
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

Successfully merging this pull request may close these issues.

6 participants