Support onMove event or a method to get the coordinates of visible area
Opened this issue · 3 comments
Fsarmento commented
This is more of a feature request.
I need to know the size and coordinates of the visible area of the picture to crop it using ImageEditor.
onScale event already gives the coordinates of the visible area and the zoom ratio applied to the photo. However, if the user drags the photo to a new position, there is no way to know the new position of the image.
This could be solved by adding an onMove event, or by adding a method to the class that would return the zoom ratio and coordinates of the visible area.
minimaluminium commented
@Fsarmento Have you found any solution for this yet?
Fsarmento commented
Hi, I ended up using react-native-gesture-handler instead. You can check my example here
minimaluminium commented
Hi, I really appreciate your reply. Thanks, will give it a try :)