-
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
[PAID] [$1000] Web- Attachment - Up and down arrow key does not work for scrolling PDF file. #10824
Comments
Triggered auto assignment to @pecanoro ( |
Yeah, I was able to reproduce this, it happens mostly when previewing the attachment before sending it. |
Triggered auto assignment to @JmillsExpensify ( |
Missed this in the end of offshore shuffle. Posting now. |
Upwork job created here: https://www.upwork.com/jobs/~0135398a55eee993ef. We're open for proposals. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @Santhosh-Sellavel ( |
Triggered auto assignment to @neil-marcellini ( |
ProposalProblemThe scrollable pdf container is not focusable because SolutionIn order to programatically focus the pdf container, we'll add a ref. Then in the callback for successfully loading the pdf, set the App/src/components/PDFView/index.js Lines 48 to 54 in ddd34f8
onDocumentLoadSuccess({numPages}) {
this.setState({
numPages,
shouldRequestPassword: false,
isPasswordInvalid: false,
});
+ this.pdfContainer.tabIndex = 0;
+ this.pdfContainer.focus();
} App/src/components/PDFView/index.js Lines 120 to 156 in ddd34f8
<View
style={pdfContainerStyle}
onLayout={event => this.setState({windowWidth: event.nativeEvent.layout.width})}
+ ref={node => this.pdfContainer = node}
> ResultScreen.Recording.2022-09-14.at.6.27.21.PM.mp4 |
Reviewing this now! |
When you open a pdf that is already received, after clicking on it we are able to scroll using the up/arrow. But why isn't working while sending alone? Can you check on that, we don't want to auto set focus. |
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.27-4 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 2022-11-22. 🎊 |
Issue not reproducible during KI retests. (First week) |
Lots going on in the open source world right now and the priority of this issue has slipped for me. I'll work on closing the loop as soon as I can, at the latest when the regression period ends. |
Circling back to pay out contributors. I still need to dig into the regression test, but let me first quickly issue payments since no regressions have arisen. Issue is not eligible for the 3 day merge bonus. |
Yes, we've discussed this regression above as well. |
Issue not reproducible during KI retests. (Second week) |
not overdue |
Closing the loop on this today. Apologies again for the delay on the regression tests! |
Alrighty, closing the loop. I created/linked the regression test. @neil-marcellini would you mind taking a look in the linked issue? I've added the up/down navigation to one of the existing tests, though we've since decided that tab navigation isn't officially supported, so I didn't add anything around that case. Closing the issue now that the regression test is added. |
@JmillsExpensify Am I eligible for payment for reporting the regression? |
While we don''t consider these bugs moving forward, as TAB is an accessibility feature we haven't built, yes I think that's fair game for a reporting bonus. Upwork job is here: https://www.upwork.com/jobs/~018a6911f84f687773. |
@JmillsExpensify Proposal submitted. |
Offer sent. |
You're all set. Paid out! |
@JmillsExpensify regarding these accessibility bugs I have reported similar 2 bugs/regression #12058 is related to this bug on the same component, am I eligible for reporting those? |
Please take that question to open source in Slack. However for clarity we only compensate for merged PRs. This specific issue was reported by our regression testing partner. |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
Up and down arrow key works for scrolling PDF file.
Actual Result:
Up and down arrow key does not work for scrolling PDF file.
Workaround:
Unknown
Platform:
Where is this issue occurring?
Version Number: 1.1.97.2
Reproducible in staging?: Yes
Reproducible in production?: Yes
Email or phone of affected tester (no customers): any
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Recording.1072.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: