expo: [expo-image-picker][ios] Can't drag the picture around the crop area (bare react-native app)
đ Bug Report
Summary of Issue
- Call
launchCameraAsyncwithallowsEditing: true. - Take a picture.
- Try to drag the picture on the crop area.
- It doesnât change
Works well on Android.
Environment - output of expo diagnostics & the platform(s) youâre targeting
System:
OS: macOS 10.15.7
CPU: (4) x64 Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz
Memory: 79.11 MB / 8.00 GB
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 14.8.0 - ~/.nvm/versions/node/v14.8.0/bin/node
Yarn: 1.22.5 - ~/.nvm/versions/node/v14.8.0/bin/yarn
npm: 6.14.8 - ~/.nvm/versions/node/v14.8.0/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.10.0 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: iOS 14.0, DriverKit 19.0, macOS 10.15, tvOS 14.0, watchOS 7.0
Android SDK:
API Levels: 21, 23, 24, 25, 26, 28, 29, 30
Build Tools: 28.0.3, 29.0.2, 30.0.2
System Images: android-24 | Google Play Intel x86 Atom, android-26 | Google APIs Intel x86 Atom, android-26 | Google Play Intel x86 Atom, android-30 | Google APIs Intel x86 Atom, android-30 | Google Play Intel x86 Atom
Android NDK: Not Found
IDEs:
Android Studio: 4.0 AI-193.6911.18.40.6626763
Xcode: 12.0/12A7209 - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_272 - /usr/bin/javac
Python: 2.7.16 - /usr/bin/python
npmPackages:
@react-native-community/cli: Not Found
react: ^16.14.0 => 16.14.0
react-native: 0.63.3 => 0.63.3
react-native-macos: Not Found
npmGlobalPackages:
*react-native*: Not Found
Reproducible Demo
https://github.com/aprilmintacpineda/repro-expo-image-picker-10820
This only happens for launchCameraAsync but not for launchImageLibraryAsync.
Sorry, canât upload GIF, file size way too big for github https://streamable.com/4yfkf6
Steps to Reproduce
Expected Behavior vs Actual Behavior
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 8
- Comments: 20 (2 by maintainers)
Commits related to this issue
- Fix ios crop box not dragging issue (#22512) # Why Should fix https://github.com/expo/expo/issues/10820 <!-- Please describe the motivation for this PR, and link to relevant GitHub issues, forum... — committed to expo/expo by ebrahimhassan121 a year ago
- Fix ios crop box not dragging issue (#22512) # Why Should fix https://github.com/expo/expo/issues/10820 <!-- Please describe the motivation for this PR, and link to relevant GitHub issues, forum... — committed to nahn20/expo-image-picker by ebrahimhassan121 a year ago
Hey ! The same issue on iOS with launchCameraAsync
Hi! I have the same issue.
@AdamJNavarro Hi, I understand you may only be doing this on your free, but just to follow up if you have any news about this or if youâve seen my reproducible repo. Thanks.
Hi there. I can reproduce this on my side, Iâve attached the video. If I try to move the crop area then itâll be returned to the initial state. https://streamable.com/2tlg14
same issue here
Same here when invoked with
launchCameraAsyncWe have the same issue
Does not allow dragging the image
@AdamJNavarro I have provided the repro above.
Hey @aprilmintacpineda, could you please share a public repo with a minimal reproducible example so that we may test this on our end? Giving steps rather than explicit code provides an opportunity for user error.
Cheers, Adam
To get this to work, I moved to https://github.com/ivpusic/react-native-image-crop-picker
I also saw it in a few production apps.
Forgot to mention there are too many opened issues about that. But youâre right, i found a workaround i guess.
Same here
Well, itâs happening right now on my app
Still have a label âneeds reproâ but Iâve already added a repro. @lukmccall @AdamJNavarro