-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Rotating a png freezes the cropbox #241
Comments
same issue +1 |
same issue +1 The version v1.0.0 can execute normally. |
Can not reappear... Any more detail? |
@fengyuanchen Looking at the code there seems to be a hard reference to jpg in the rotate function. Other than that it it just sticks inside the cropbox after rotate. On your website however it seems to work but the source of the image is a blob there whilst my source is a base64 of a png |
+1 |
1 similar comment
+1 |
Maybe it is the problem of some specific images, who can provide one for test? |
@fengyuanchen We used the same image on your website and it works fine but you use a blob source and not a base64 source |
Happens for me too. Based on my testing, the regression was introduced in cropper 3.1.0/cropperjs 1.1.0. Previous versions 3.0.0/1.0.0 work fine. I found a way to reproduce it on the demo page https://fengyuanchen.github.io/cropper/
Breaks for me in latest Firefox and Chrome. |
@lucidfox Got it! Thanks~ |
Mac OS Sierra
Windows 10
chrome,firefox,safari,edge. all latest version
When rotating an PNG file the cropbox holds the image (so moving the cropbox around does nothing). When rotating an jpeg this works fine.
The text was updated successfully, but these errors were encountered: