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

feat: add cropperProps option to specify additional props for cropper #593

Merged
merged 1 commit into from
Feb 25, 2025

Conversation

priceld
Copy link
Contributor

@priceld priceld commented Feb 25, 2025

This change adds a new cropperProps option that allows users to specify additional props for the cropper element. I modeled this after the existing mediaProps option.

My specific use case for this is that I need to be able to specify an aria-label for the cropper since it can receive focus. This will allow for a more accessible workflow for users using screen readers.

Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@ValentinH ValentinH added the patch Increment the patch version when merged label Feb 25, 2025
@ValentinH ValentinH merged commit 49f5037 into ValentinH:main Feb 25, 2025
4 checks passed
@ValentinH
Copy link
Owner

Thank you!

Copy link

🚀 PR was released in v5.4.1 🚀

@github-actions github-actions bot added the released This issue/pull request has been released. label Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Increment the patch version when merged released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants