Closed sadfuzzy closed 11 years ago
I have a Samsung Galaxy S 4G and the Jcrop example pages work fairly acceptably to me. The iPad experience has gone down hill though. I'm confident that my "touch" code could use some improvement in regards to that. However, performance-wise, the only thing I could suggest is to try the option shade: true
- not sure if that will help.
Thanks anyway!
On iOS devices, i have allways jumping around of the box if I try to move it...
Drag n Drop works fine if I'm using jquery.ui draggable with the jquery.ui.touch-punch.
Any suggestions what I can do?
The jumping has been fixed thanks to @Gladhon and the bug fix he submitted. The speed and performance issues on mobile devices are not specifically "issues" that I consider to be related to Jcrop. I'm going to close this issue since the jumping problem appears to be fixed.
Current master branch contains a definitive fix for iOS jumping behavior and seems to improve performance. Please test!
Don't call function of "onChange : updatePreview" ---- This is what selection area making slow.
jQuery(function($) { var cropContainer = $('#canvas'); cropContainer.Jcrop({ // onChange : updatePreview, onSelect : updatePreview, aspectRatio : 1 });
Is there any way to optimise for mobile? It works .. bad. I mean "slow" and "stucks touches all over the page". Well, the "stucks touches all over the page" i'll try to fix (not sure, but may be bootstrap bug), but "slow" is native.