Open tutorialdrive opened 7 years ago
When I open crop image in bootstrap, its working fine (image 1).
Image 1
But when I close model (by pressing close button) mode goes close but crop selection still there. Please refer image 2.
Image 2
I can drag selection area after that and it change values as well. Please refer image 3
Image 3
$('#your-image').imgAreaSelect({ remove: true });
If you instantiate with ias = $('#your-image').imgAreaSelect({ handles: true, ... more options ... }); you can also
ias = $('#your-image').imgAreaSelect({ handles: true, ... more options ... });
ias.setOptions({hide: true});
When I open crop image in bootstrap, its working fine (image 1).
Image 1![issue_20170905_arfurniture_2](https://cloud.githubusercontent.com/assets/5180725/25838995/5d65e950-34b3-11e7-9dd6-c7c7ea3768e6.PNG)
But when I close model (by pressing close button) mode goes close but crop selection still there. Please refer image 2.
Image 2![issue_20170905_arfurniture](https://cloud.githubusercontent.com/assets/5180725/25838835/a9a89d4a-34b2-11e7-912e-44307433f636.PNG)
I can drag selection area after that and it change values as well. Please refer image 3
Image 3![issue_20170905_arfurniture_1](https://cloud.githubusercontent.com/assets/5180725/25838877/d1f713f8-34b2-11e7-95b0-516b1316d701.PNG)