Fix Empty space below 'Take a photo' modal#87329
Conversation
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppScreen.Recording.2026-04-08.at.18.16.32.movScreen.Recording.2026-04-08.at.18.16.48.movAndroid: mWeb ChromeiOS: HybridAppScreen.Recording.2026-04-08.at.18.20.19.movScreen.Recording.2026-04-08.at.18.20.46.moviOS: mWeb SafariMacOS: Chrome / Safari |
|
🚧 @mjasikowski has triggered a test Expensify/App build. You can view the workflow run here. |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
…ape-mode/empty-space-below-take-a-photo (cherry picked from commit bbd13e9) (cherry-picked to staging by roryabraham)
|
🚀 Cherry-picked to staging by https://github.com/roryabraham in version: 9.3.54-3 🚀
Bundle Size Analysis (Sentry): |
|
No help site changes are required for this PR. This is a purely visual fix — it adds |
|
🚀 Deployed to production by https://github.com/roryabraham in version: 9.3.54-7 🚀
|
|
🚀 Cherry-picked to staging by https://github.com/roryabraham in version: 9.3.55-0 🚀
Bundle Size Analysis (Sentry): |
|
No help site changes are required for this PR. This is a single-line CSS styling fix ( |
Explanation of Change
On native request-money scan, when camera permission is not granted, the permission UI sits inside a
ScrollViewthat did not grow with the available height, leaving empty space below the “Take a photo” area. AddedcontentContainerStyle={styles.flexGrow1}so the scroll content fills the screen. Change is inIOURequestStepScan/index.native.tsx.Fixed Issues
$ #87322
PROPOSAL: N/A
Tests
Precondition:
Offline tests
N/A
QA Steps
Same as Tests
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
Android: Native
Screen.Recording.2026-04-08.at.08.55.02.mov
Screen.Recording.2026-04-08.at.08.56.18.mov
iOS: Native