avoidEmptySpaceAroundImage iOS not working
Version
Tell us which versions you are using:
- react-native-image-crop-picker v0.36.4?
- react-native v0.63.4
Platform
Tell us to which platform this issue is related
- iOS
Expected behaviour
It should be possible to show the full image in the crop-frame with empty space around the image
Actual behaviour
It's not possible to have empty space around the image
Steps to reproduce
-
Set avoidEmptySpaceAroundImage to false
-
Select image
-
Try to zoom out
Attachments
await ImagePicker.openPicker({
width: width,
height: height,
compressImageQuality: quality,
mediaType: 'photo',
cropping: true,
loadingLabelText: language.LOADING,
cropperChooseText: language.SELECT,
cropperCancelText: language.CANCEL,
forceJpg: true,
avoidEmptySpaceAroundImage: false,
})
.then((image) => {
imageURL = image.path;
})
.catch((reason) => console.log(reason));
https://user-images.githubusercontent.com/64470126/136706897-b5237cd5-c632-42a2-9d37-cbaf8f7a92a5.mov
a duplicate of https://github.com/ivpusic/react-native-image-crop-picker/issues/1108?
a duplicate of #1108?
I'm not sure if it is the same problem.
I had the same issue and after some research I found out since v0.34.1, when the implementations was changed from RSKImageCropper to TOCropViewController, this prop doesn't work anymore, it's like a dummy prop xD
I had the same issue and after some research I found out since v0.34.1, when the implementations was changed from RSKImageCropper to TOCropViewController, this prop doesn't work anymore, it's like a dummy prop xD
great! Can we just change it back? Do you have any solution?
I didn't try change it back, since the version that still uses RSKImageCropper is from Sep 2020, I think it should work. Otherwise, I have not another solution yet.
Hey guys, this one would be a very good feature to have. It seems that it is a regression caused by some changes regarding the underlying library