Link http://invait.ru/CollectiveGift_template1.php
Browser is Chrome
I do the following:
1) Go on link http://invait.ru/CollectiveGift_template1.php
2) Choose an image
3) When showing an image for crop, i click on it without a crop area
And now my page scrolls down.
Tell me please how stop this bug in chrome?
Code JSCROP HERE
P.S.: Firefox doesn't have this bug...
P.P.S.: please if you want click on downvote tell mme answer. I think aboout this problem 2 days...
Find this part of your code in your Jscrop.js:
function watchKeys() //{{{
{
if (options.keySupport) {
$keymgr.show();
$keymgr.focus();
}
}
//}}}
And remove this line:
$keymgr.focus();
It is found on line 1238 in your file. Tell me if this fixes things.
This will remove the keys functionality. Please take a look at this discussion: http://code.google.com/p/jcrop/issues/detail?id=39#c4 If you need the keys functionality, try changing fixed to absolute on line 1224:
var $keymgr = $('<input type="radio" />').css({
position: 'fixed'
and roll back the previous change