youmoula / jcrop

Automatically exported from code.google.com/p/jcrop
0 stars 0 forks source link

"Jump" image on change select.With aspectRation 0.75 only #87

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Download lasted jcrop version 0.9.12
2. copy/paste code:
<!doctype html>
<html>
<head>
    <script src="/js/jquery-1.8.3.min.js"></script>
    <script src="/js/jcrop/jquery.Jcrop.min.js"></script>
    <link rel="stylesheet" href="/js/jcrop/jquery.Jcrop.min.css" type="text/css" />
</head>
<body>
<script type="text/javascript">
    var jcropOptions = {
        aspectRatio: 0.75
    };
    $(function(){
        "use strict";

        $('#ttt').Jcrop(jcropOptions);
    });
</script>
<img src="/img/tmp/26020.jpg" id="ttt" />
</body>
</html>

3. Run. Set selection
4. Change selection by NE, E, SE handlers

What is the expected output? What do you see instead?
Selected area of ​​the image jump/bounces/shakes.

What version of the product are you using? On what operating system?
jcrop 0.9.12
Win7
Chrome stable build (Version 26.0.1410.43 m)
FF 19.0.2

Please provide any additional information below.
If i change aspectRatio to 1 or 16/9 all work fine

Sorry for my bad English.

Original issue reported on code.google.com by buzzer...@gmail.com on 28 Mar 2013 at 11:10