fix: Onfido broken styles - #64449
Conversation
|
@ZhenjaHorbach Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppNA Android: mWeb Chrome2025-07-08.16.22.07.moviOS: HybridAppNA iOS: mWeb Safari2025-07-08.16.28.20.movMacOS: Chrome / Safari2025-07-08.16.11.04.movMacOS: Desktop2025-07-08.16.11.04.mov |
|
Looks like we still have some style issues 2025-06-19.12.29.59.mov |
2025-06-19.12.33.06.mov |
|
@ZhenjaHorbach As mentioned my in proposal, that's an embedded |
Oh But we still have a border button issue |
|
And let's update QA steps to mention that horizontal line and rounded border are expected |
|
@ZhenjaHorbach Updated. |
Thanks ! |
|
@ZhenjaHorbach You meant the button border, right? |
Oh |
|
@mkzie2 |
|
I cannot reproduce it: Screen.Recording.2025-06-26.at.20.25.52.mov |
|
Strange |
|
I used Chrome too: Screen.Recording.2025-07-01.at.16.48.35.movIt's supposed not to have the border because I already set to transparent: |
|
Okay |
|
@mkzie2 |
|
Done. |
|
Actually yes But we have a weird border when we try to select buttons using the keyboard 2025-07-08.16.00.48.mov@Expensify/design |
|
Given that these styles come from Onfido, I'm actually not sure how much customization we can do. Can someone tell us what exactly we have control over and we can provide guidance from there? |
@shawnborton This is a full list of customizations https://github.com/onfido/onfido-sdk-ui/blob/master/UI_CUSTOMIZATION.md. But it's quite hard to follow. I've investigated the whole Onfido flow and found these mismatched/broken styles and tried to fix them:
|
|
Unfortunately we cannot control the button/input border width. We can mostly control the colors and border radius. |
|
Sounds good, thanks for confirming. I guess let's go ahead with final review then? |
|
I will complete a review today or on the weekend ! |
|
Okay 2025-07-14.14.11.25.mov |
|
LGTM ! |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/youssef-lr in version: 9.1.83-0 🚀
|
|
Failing with original bug #63961 in Desktop 1752831358061.Onfindo_Broken_style.mp4 |
It's not a bug
|
|
🚀 Deployed to production by https://github.com/cristipaval in version: 9.1.83-5 🚀
|

















Explanation of Change
Fixed Issues
$ #63961
PROPOSAL: #63961 (comment)
Tests
Offline tests
NA
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
Screen.Recording.2025-06-19.at.01.05.26-compressed.mov
iOS: Native
Screen.Recording.2025-06-19.at.00.57.33.mov
iOS: mWeb Safari
Screen.Recording.2025-06-19.at.00.56.02-compressed.mov
MacOS: Chrome / Safari
Screen.Recording.2025-06-19.at.00.51.53.mov
MacOS: Desktop
Screen.Recording.2025-06-19.at.00.53.05-compressed.mov