-
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] Web - Bank Account - Blue box focus appears when clicking enter #31891
Comments
Triggered auto assignment to @sakluger ( |
Job added to Upwork: https://www.upwork.com/jobs/~01140847c130c78965 |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @allroundexperts ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Document area shows blue box on clicking enter. What is the root cause of that problem?The blue box comes from onFido UI, specifically at What changes do you think we should make in order to solve the problem?Remove box-shadow on restrictedDocumentSelection: #onfido-mount [tabindex="-1"]:focus-visible,
#onfido-mount [tabindex="-1"]:focus[data-focusvisible-polyfill],
#onfido-mount [tabindex="0"]:focus-visible[data-page-id="restrictedDocumentSelection"] {
box-shadow: none !important;
} What alternative solutions did you explore? (Optional)Override the tabIndex manually from this line App/src/components/Onfido/index.website.js Lines 9 to 10 in d985a0e
let overrideTabIndex = null
if (baseOnfidoRef.current) {
overrideTabIndex = setTimeout(() => {
const documentSelection = baseOnfidoRef.current.querySelector('[data-page-id="restrictedDocumentSelection"]')
documentSelection.tabIndex = -1
}, 3000)
} |
@zukilover Can't you apply the styles directly in |
@allroundexperts we can of course apply an |
I think its better to use |
@allroundexperts in that case, I have updated my proposal: Proposal |
@zukilover's proposal looks good to me. 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @roryabraham, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
Sorry, I'm going to close this as not worth fixing. |
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: v1.4.3-6
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:
Slack conversation: @
Action Performed:
Expected Result:
No blue box is shown when clicking enter
Actual Result:
blue box is shown when clicking enter
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6290107_1700899045737.test17_Bluebox.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: