react-native-photo-editor icon indicating copy to clipboard operation
react-native-photo-editor copied to clipboard

RNPhotoEditor.Edit quitted before the customer onCancel function is called.

Open MengjieZhao opened this issue 5 years ago • 1 comments

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

MengjieZhao avatar Nov 09 '20 11:11 MengjieZhao

same problem

Vivekchudasma avatar Feb 02 '21 07:02 Vivekchudasma