Description
I am currently on React Native 0.81.4 with new architecture enabled.
Whenever I pick the image using the react-native-image-crop-picker, the order of onLoad related events changes -
What I am getting -
onLoad -> onLoadEnd -> onLoadStart
What I expect -
onLoadStart -> onLoad -> onLoadEnd
When I use a url to provide image, it works fine. but If I pick the image using the Image crop picker, the order of events being fired changes.
Steps to reproduce
- Create a new project using the react-native-community/cli
- Add 'react-native-image-crop-picker' and update the Info.plist file
- run
pod install and then npm run ios
- Add 'Button' in the component to open the Image Picker and select a image.
- Pass the 'uri' provided by the Image Picker to Image component provided by react native.
React Native Version
0.81.4
Affected Platforms
Runtime - iOS
Output of npx @react-native-community/cli info
System:
OS: macOS 15.3.1
CPU: (12) arm64 Apple M4 Pro
Memory: 138.42 MB / 24.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 22.19.0
path: /Users/cs03466/.nvm/versions/node/v22.19.0/bin/node
Yarn:
version: 1.22.22
path: /Users/cs03466/.nvm/versions/node/v22.19.0/bin/yarn
npm:
version: 10.9.3
path: /Users/cs03466/.nvm/versions/node/v22.19.0/bin/npm
Watchman:
version: 2025.09.08.00
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods:
version: 1.16.2
path: /Users/cs03466/.rbenv/shims/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 24.5
- iOS 18.5
- macOS 15.5
- tvOS 18.5
- visionOS 2.5
- watchOS 11.5
Android SDK: Not Found
IDEs:
Android Studio: 2025.1 AI-251.26094.121.2513.14007798
Xcode:
version: 16.4/16F6
path: /usr/bin/xcodebuild
Languages:
Java:
version: 17.0.16
path: /usr/bin/javac
Ruby:
version: 3.4.5
path: /Users/cs03466/.rbenv/shims/ruby
npmPackages:
"@react-native-community/cli":
installed: 20.0.0
wanted: 20.0.0
react:
installed: 19.1.0
wanted: 19.1.0
react-native:
installed: 0.81.4
wanted: 0.81.4
react-native-macos: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: true
newArchEnabled: true
iOS:
hermesEnabled: true
newArchEnabled: true
Stacktrace or Logs
console.js:661 Running "ReproducerProject" with {"rootTag":11,"initialProps":null,"fabric":true}
console.js:661 onLoadStart fired
console.js:661 onLoad fired
console.js:661 onLoadEnd fired
console.js:661 Image selected: /Users/cs03466/Library/Developer/CoreSimulator/Devices/EEA57008-1B76-416C-849C-3D362C6527B7/data/Containers/Data/Application/FFEF6540-901F-4026-95FB-6FEF1FB1843F/tmp/react-native-image-crop-picker/E7351B54-A36A-4767-B81E-B8BA431A509D.jpg
console.js:661 onLoad fired
console.js:661 onLoadEnd fired
console.js:661 onLoadStart fired
MANDATORY Reproducer
https://github.com/fab-nikhil/image-component-issue-reproducer
Screenshots and Videos
No response
Description
I am currently on React Native 0.81.4 with new architecture enabled.
Whenever I pick the image using the react-native-image-crop-picker, the order of onLoad related events changes -
What I am getting -
onLoad -> onLoadEnd -> onLoadStart
What I expect -
onLoadStart -> onLoad -> onLoadEnd
When I use a url to provide image, it works fine. but If I pick the image using the Image crop picker, the order of events being fired changes.
Steps to reproduce
pod installand thennpm run iosReact Native Version
0.81.4
Affected Platforms
Runtime - iOS
Output of
npx @react-native-community/cli infoStacktrace or Logs
MANDATORY Reproducer
https://github.com/fab-nikhil/image-component-issue-reproducer
Screenshots and Videos
No response