react-native-image-crop-picker icon indicating copy to clipboard operation
react-native-image-crop-picker copied to clipboard

App hangs when cancelling use of the cropper

Open cashtotalszero opened this issue 1 year ago • 2 comments

Version

  • react-native-image-crop-picker v0.40.2
  • react-native v0.72.9

Platform

  • iOS

Expected behaviour

App should close the camera/cropper when cancelled

Actual behaviour

The app hangs when cancelling at the point of cropping

Steps to reproduce

  1. Open camera
  2. Take a picture
  3. Press "Use picture"
  4. Press "Cancel" on the cropper

Code setup:

await ImagePicker.openCamera({
    mediaType: 'photo',
    includeBase64: true,
    width: 1800,
    height: 2400,
    cropping: true,
    forceJpg: true,
    freeStyleCropEnabled: true,
})

cashtotalszero avatar Jan 30 '24 14:01 cashtotalszero

Oh, it looks like this Pull Request is a fix:

https://github.com/ivpusic/react-native-image-crop-picker/pull/1884

Are there any plans to merge/release that soon?

cashtotalszero avatar Jan 30 '24 14:01 cashtotalszero