Skip to content
This repository has been archived by the owner on Aug 1, 2020. It is now read-only.

Touch zoom chrome issue #824

Closed
Mafial opened this issue Dec 15, 2016 · 8 comments
Closed

Touch zoom chrome issue #824

Mafial opened this issue Dec 15, 2016 · 8 comments

Comments

@Mafial
Copy link

Mafial commented Dec 15, 2016

It seems the cropper doesn't work with the latest version of chrome on mobile devices.
The image literally disappears when trying to zoom or unzoom.

Can someone help me?
Many thanks in advance!

@DarkxKen
Copy link

Hi, I have the same issue with ionic on Android devices. I guess it use Chrome too.
I can zoom in/out just with the inspector of remote devices in my computer, but in the phone the image just disappears. Tablets and iOS works perfectly.
I'm using the settings of "fixed-crop-box".

Thanks.

@Mafial
Copy link
Author

Mafial commented Dec 15, 2016

@DarkxKen
Good to know: the old version v0.7.9 still works but it is very slow...
https://fengyuanchen.github.io/cropper/v0.7.9/

@fengyuanchen
Copy link
Owner

Works fine in Chrome for Android 55.0.2883.91. Check if it is just a problem of your own code.

@xe21500
Copy link

xe21500 commented Dec 19, 2016

Hi, I can reproduce the error notified by @DarkxKen on your sample page, on Android 5.1 with Chrome 55.0.2883.91 (also happens on my application). It works correctly on Chrome 54.

@fengyuanchen
Copy link
Owner

As of version 55, Chrome starts to support Pointer Events which causes this problem. I will resolved this soon.

@fengyuanchen fengyuanchen reopened this Dec 27, 2016
@fengyuanchen
Copy link
Owner

I cannot fixed this right now, recommend to use the non-jQuery version as this issue had been fixed in that.

  • Cropper.js - the non-jQuery version of Cropper (recommended).

@fengyuanchen
Copy link
Owner

This has been fixed in v3.0.0-alpha.

@ellej16
Copy link

ellej16 commented May 15, 2017

Hi @fengyuanchen! Tried updating Cropper to v3.x.x (3.0.0-rc1 in this case) and it does fix the issue but the responsive: true stopped working. I tried manually trigerring the window resize event to no avail.

Any advice on how we should go about the issue?

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants