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

Android: onLoad, onLoadStart, onLoadEnd events not arriving in order #975

Closed
s77rt opened this issue Feb 23, 2023 · 2 comments
Closed

Android: onLoad, onLoadStart, onLoadEnd events not arriving in order #975

s77rt opened this issue Feb 23, 2023 · 2 comments
Labels

Comments

@s77rt
Copy link

s77rt commented Feb 23, 2023

Describe the bug
onLoad, onLoadStart, onLoadEnd events not arriving in order on Android. This is happens more often with GIF images. Probably due to the events being emitted asynchronously.

To Reproduce

  1. On Android, choose a GIF Image
  2. Notice that the order of onLoad, onLoadStart, onLoadEnd is not reliable

Expected behavior
onLoadStart to be called first then onLoad and finally onLoadEnd.

Screenshots
We have this issue for more details: Expensify/App#15288

Dependency versions

  • React Native version: 0.70.4
  • React version: 18.1.0
  • React Native Fast Image version: 8.6.3
@2sem
Copy link

2sem commented Mar 11, 2023

I can see image, but onLoad/onLoadEnd is never called

@s77rt
Copy link
Author

s77rt commented May 24, 2023

I think the bug is not on react-native-fast-image turns out that we were using a patched version and we forgot about it. The bug is probably in that patch.

Closing.

@s77rt s77rt closed this as completed May 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants