Closed alielkhateeb closed 7 months ago
This is because the onCropComplete
is triggered at the end of a gesture (mouse up or drag stop). However, you can use the onCropAreaChange
props that has the exact same signature than onCropComplete
but is invoked whenever x/y
change.
Describe the bug When I use variable inputs for crop (X and Y) that I want the user to insert in an input field, the crop does not get generated and a crop complete event is not emitted.
To Reproduce Steps to reproduce the behavior:
Crop Complete
Crop X
0
Crop Complete
is not triggeredExpected behavior I expect when input changes the crop is triggered and a cropComplete event is emitted.