Is there a way to prevent the crop corners from moving once the user drags the cursor out of the image while cropping?
I encountered an issue where the cropped corners are displaced from the cursor when the user moves out of the image and then back in, which is not the intended behavior.
Take a look at the simple demo I have put together below:
<link rel="stylesheet" href="https://fengyuanchen.github.io/cropper/css/cropper.css">
<link rel="stylesheet" href="https://fengyuanchen.github.io/cropper/css/main.css">
<div class="img-container">
<img src="https://fengyuanchen.github.io/cropper/images/picture.jpg" alt="" class="">
</div>
<script type="text/javascript" src="https://fengyuanchen.github.io/cropperjs/js/cropper.js"></script>
<script type="text/javascript" src="https://fengyuanchen.github.io/cropperjs/js/main.js"></script>