fix: Add receipt modal on confirmation page is smaller and does not fit the screen#59046
fix: Add receipt modal on confirmation page is smaller and does not fit the screen#59046cristipaval merged 5 commits intoExpensify:mainfrom
Conversation
|
@ishpaul777 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] |
src/styles/index.ts
Outdated
| borderWidth: 2, | ||
| borderColor: theme.cardBG, | ||
| borderRadius: variables.componentBorderRadiusLarge, | ||
| height: 200, |
There was a problem hiding this comment.
What was the previous height of this? I would think we want it to match what we use in the expense view just for consistency's sake.
There was a problem hiding this comment.
@shawnborton Before this PR, the height is 200. Do we only want to change the width?
There was a problem hiding this comment.
@shawnborton Please help to confirm the last question here.
There was a problem hiding this comment.
I would say it would be nice to adjust this to match the height we use elsewhere. This way we are at least consistent with the height. Thoughts?
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2025-03-27.at.3.38.32.AM.movAndroid: mWeb ChromeScreen.Recording.2025-03-27.at.3.45.10.AM.moviOS: NativeScreen.Recording.2025-03-27.at.3.20.09.AM.moviOS: mWeb SafariScreen.Recording.2025-03-27.at.3.22.46.AM.movMacOS: Chrome / SafariScreen.Recording.2025-03-27.at.2.59.06.AM.movMacOS: DesktopScreen.Recording.2025-03-27.at.4.07.31.AM.mov |
|
✋ 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/cristipaval in version: 9.1.20-0 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.1.20-2 🚀
|
Explanation of Change
fix: Add receipt modal on confirmation page is smaller and does not fit the screen
Fixed Issues
$ #58898
PROPOSAL:
Tests
Precondition:
Offline tests
Same
QA Steps
Precondition:
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand 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
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop