fix no unreported expenses page doesn't fit on landscape and doesn't scroll in Reports#87575
Conversation
…t for AddUnreportedExpense
|
@Expensify/design I'm removing the dead space between the header and the list item to ensure that on landscape mode the content is properly centered. I am also adding Scrollview so in case that item doesn't fit properly, user can scroll down. |
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
|
Can you show us a quick side-by-side of before & after? |
Sure, the only difference is in landscape mode, portrait mode stays the same Before Screen.Recording.2026-04-10.at.12.07.46.movAfter Screen.Recording.2026-04-10.at.12.06.02.mov |
|
@mjasikowski 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: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / Safari |
|
🚧 @mjasikowski has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
✋ 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/mjasikowski in version: 9.3.59-0 🚀
Bundle Size Analysis (Sentry): |
|
No help site changes are required for this PR. This is a UI layout fix (wrapping the empty state in a |
|
🚀 Deployed to production by https://github.com/AndrewGable in version: 9.3.59-4 🚀
|


Explanation of Change
Following Melvin’s proposal, I’ve also applied a
minModalHeight={isInLandscapeMode ? 0 : undefined}toEmptyStateComponentprops. This removes the excess padding between the header and the list item, ensuring the content is properly centered.Fixed Issues
$#87331
PROPOSAL:
Tests
Offline tests
N/A
QA Steps
Same as Tests.
// TODO: These must be filled out, or the issue title must include "[No QA]."
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))npm run compress-svg)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
iOS: Native
Screen.Recording.2026-04-10.at.11.02.36.mov