Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App hangs when cancelling use of the cropper #2020

Open
cashtotalszero opened this issue Jan 30, 2024 · 1 comment
Open

App hangs when cancelling use of the cropper #2020

cashtotalszero opened this issue Jan 30, 2024 · 1 comment

Comments

@cashtotalszero
Copy link

cashtotalszero commented Jan 30, 2024

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
Copy link
Author

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

#1884

Are there any plans to merge/release that soon?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant