-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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-08-02] [HOLD for payment 2024-07-25] [$500] Web - Expense - Blue border selection on back icon RHP after hitting enter on BNP #43662
Comments
Triggered auto assignment to @danieldoglas ( |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
@danieldoglas 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 |
Not a deploy blocker related to web, removing the label |
Job added to Upwork: https://www.upwork.com/jobs/~018358d1ec7f51e120 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @s77rt ( |
This was likely caused by #39520 |
To address this issue, we can use the .that-element:focus { outline: none; } CSS class. This rule removes the default focus outline that appears on elements when they are focused. This can enhance the visual appearance and usability of the element, especially in cases where the default browser outline is intrusive or unnecessary. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Web - Expense - Blue border selection on back icon RHP after hitting enter on BNP What is the root cause of that problem?The
which will make focusTrap to focus the first element of the screen: App/src/components/FocusTrap/FocusTrapForScreen/index.web.tsx Lines 52 to 55 in 2a641d9
What changes do you think we should make in order to solve the problem?include Alternative solutionsWe can disable the initialFocus of FocusTrap. We set false in initialFocus for all screens. and if there is problem with other screen element is still focused and receive key event we can set onActivate property: onActivate: () => document?.querySelector('[tabindex="0"]').focus() This could fix that issue. Alternative solutions (2)We can defer the blue outline appearance so it will be shown only when it is focused after some milli seconds. By using this method we can remove the The code could be: then add the screenRef in children: then onActivate: () => {
const firstTabElement = screenRef?.current?.querySelector('[tabindex="0"]');
if (firstTabElement) {
const elementBoxShadow = firstTabElement.style.boxShadow;
firstTabElement.style.boxShadow = "none";
setTimeout(() => {
firstTabElement.style.boxShadow = elementBoxShadow;
}, 300);
}
}, then change the returned children with childElement |
@gawandeabhishek Please checkout the contributing guide https://github.com/Expensify/App/blob/main/contributingGuides/CONTRIBUTING.md |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.8-6 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-07-25. 🎊 For reference, here are some details about the assignees on this issue:
|
Issue is ready for payment but no BZ is assigned. @joekaufmanexpensify you are the lucky winner! Please verify the payment summary looks correct and complete the checklist. Thanks! |
@suneox $500 sent and contract ended! |
Upwork job closed. |
All that's left is for @s77rt to request their $500 via NewDot. Going to close this one since it's otherwise all set. Thanks everyone! |
@joekaufmanexpensify This should be $250 for causing a regression #45571 |
@joekaufmanexpensify mind updating the payment summary above? |
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.12-0 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-08-02. 🎊 For reference, here are some details about the assignees on this issue:
|
Ah okay got it. I don't see that there was a post to the issue about the deploy blocker/regression previously, which is why it was not previously noted in the payment summary. Updated payment summary to note that both parties are actually due $250 here because of the regression. |
All good!I haven't requested it yet. Will let you know once I do! |
@joekaufmanexpensify I have refunded 50% |
Ah, perfect. TY! I see it processed on my end. |
$250 approved for @s77rt |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 1.4.83-0
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
The back icon on RHP will not have blue border selection
Actual Result:
The back icon on RHP has blue border selection
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6511961_1718284382905.enter.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @s77rtThe text was updated successfully, but these errors were encountered: