react-native-photo-editor
react-native-photo-editor copied to clipboard
RNPhotoEditor.Edit quitted before the customer onCancel function is called.
I would like to warn user for the unsaved changes in the image editing. Therefore I want to build an Alert in the onCancel function in the RNPhotoEditor.Edit() function. However, since the editor always quit the editing mode before the customer onCancel function is called, this is not possible.
Expected behaviour:
the customer onCancel function is first called before exiting the editing mode.
Current behaviour
editing mode first existed before the customer onCancel function is called
same problem