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

Synchronization Issue Between Multiple Cropper Instances on the Same Page #572

Closed
kfs214 opened this issue Dec 26, 2023 · 2 comments
Closed

Comments

@kfs214
Copy link

kfs214 commented Dec 26, 2023

Synchronization Issue Between Multiple Cropper Instances on the Same Page

Environment

  • OS: MacOS Ventura 13.4.1
  • Browsers:
    • Safari: Functions correctly
    • Chrome: Encounters an issue

Issue Description

On a single page of my application, there are multiple cropper instances, each intended to have its unique selection area. However, changes in the first instance unintentionally affect others.

Problem Analysis

The issue originates from identical IDs assigned to the mask elements (hole). This causes all instances to refer to the same mask, disrupting their individual functionalities.

CodeSandBox

Screenshots

  • Safari (Functions correctly)
    Safari

  • chrome (Encounters an issue)
    chrome

@sekoyo
Copy link
Owner

sekoyo commented Dec 26, 2023

Thanks for the detail and finding the cause 🙏 Please try 11.0.2

@kfs214
Copy link
Author

kfs214 commented Dec 27, 2023

Thank you for your quick response!
The problem has been resolved.

And I also appreciate this great repository. 🚀

@kfs214 kfs214 closed this as completed Dec 27, 2023
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

2 participants