-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[$500] Android – Attachment – App flickering when uploading a long image to a conversation #34998
Comments
Job added to Upwork: https://www.upwork.com/jobs/~011d877180b69b96f5 |
Triggered auto assignment to @greg-schroeder ( |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @jjcoffee ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Android – Attachment – App flickering when uploading a long image to a conversation What is the root cause of that problem?The main problem with the issue is that when we load a long photo we call onLoad a few times ( But according to the documentation, onLoad should only call once, which means the image is completely loaded ) App/src/components/Lightbox.js Lines 185 to 189 in 6cfdd6f
What changes do you think we should make in order to solve the problem?To fix this issue we can update the code and add new condition which will prevent unnecessary onLoad calls. For this we can use
What alternative solutions did you explore? (Optional)NA |
Reviewing tomorrow! |
@ZhenjaHorbach Thanks for the proposal! The RCA feels a bit underdeveloped; I'm curious why @lanitochka17 Could you update/add which platforms this affects? |
This problem is specific to Android only And the problem is related to rerendering But if on IOS we always have a static size value But my fix is still valid |
The issue is only reproducible on Android |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Thanks for the extra detail! Happy to go with @ZhenjaHorbach's proposal here. The RCA seems correct that we're simply calling 🎀👀🎀 C+ reviewed |
Triggered auto assignment to @Julesssss, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @jjcoffee 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @ZhenjaHorbach 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
PR will be ready today or tomorrow |
App/src/components/Lightbox/index.tsx Lines 82 to 91 in a058e3b
It seems this problem is no longer relevant after refactoring the code into this PR In fact, the fix is already used here |
@ZhenjaHorbach Thanks for flagging! Did you verify that the issue is fixed? |
I couldn't reproduce it on the last main ) |
Great! Closing this then. |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 1.4.30-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:
Expected Result:
Preview of the image is displayed before uploading to the conversation
Actual Result:
App flickering when uploading a long image to a conversation in preview. Flashes on first boot
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6352453_1706038657902.App_flickering_when_uploading_a_long_image.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: