-
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
[HOLD for payment 2024-06-05] [$250] Chat - PDF file blinks when open it #42103
Comments
Triggered auto assignment to @CortneyOfstad ( |
@CortneyOfstad FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors |
We think that this bug might be related to #vip-vsp |
Was able to recreate! Getting some eyes on this: RecordIt-1715694475.MP4 |
Job added to Upwork: https://www.upwork.com/jobs/~0186b254f5f9f3fc2c |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mananjadhav ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.The PDF blinks when opening it. What is the root cause of that problem?The loading comes from the PDF component when it's loading the pdf source. App/src/components/PDFView/index.native.tsx Lines 135 to 138 in a6cb60c
The reason it shows twice is, that when the loading is complete, we render the pdf component without the pressable, App/src/components/PDFView/index.native.tsx Lines 163 to 176 in a6cb60c
so a new instance of PDF component is created because the component tree is changed and the loading starts again. The reason we don't want the pressable is because the PDF component already handles the onpress. App/src/components/PDFView/index.native.tsx Line 144 in a6cb60c
What changes do you think we should make in order to solve the problem?Disable the pressable instead of rendering it without pressable when the load completes, just like what we did before #21714. |
@mananjadhav we have a proposal above for review — thanks! |
@bernhardoj 's proposal looks good to me. 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @blimpich, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @bernhardoj 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
PR is ready cc: @mananjadhav |
Thanks I'll take a look today. |
Thanks @mananjadhav! |
The PR is straight forward but it seems it causes issues with scroll on Android. Put up a discussion in the PR comments here |
Thanks @mananjadhav! Just a heads up that we're on a merge freeze until Wednesday 👍 |
Merge freeze is planned to end today 🤞 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.76-7 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2024-06-05. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
|
Payment Summary@bernhardoj — paid $250 via Upwork Thanks! |
$250 approved for @mananjadhav |
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.73-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: N/A
Issue reported by: Applause - Internal Team
Issue found when executing PR #41802
Action Performed:
Expected Result:
There is no blinking when opening a PDF file
Actual Result:
PDF file blinks while opening it regardless of size
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6479696_1715624789229.IMG_6850.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @CortneyOfstadThe text was updated successfully, but these errors were encountered: