Repository navigation
[CP Staging] Fix Unable to scroll down to Save button when prompt field focused in landscape - #100685
Conversation
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppScreen.Recording.2026-09-09.at.14.48.44.movScreen.Recording.2026-09-09.at.14.49.40.moviOS: HybridAppScreen.Recording.2026-09-09.at.14.51.09.movScreen.Recording.2026-09-09.at.14.57.05.movMacOS: Chrome / SafariScreen.Recording.2026-09-09.at.14.57.41.mov |
mountiny
left a comment
There was a problem hiding this comment.
Gonna move this ahead to fix the blocker sooner than later
|
🚧 mountiny 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! 🧪🧪
|
…cape-mode/fix-edit-prompt-page-scroll-view [CP Staging] Fix Unable to scroll down to Save button when prompt field focused in landscape (cherry picked from commit 147ce28) (cherry-picked to staging by mountiny)
|
🔁 Filed a Staging retest request for deploy blockers #100640 after this PR was cherry-picked to staging. |
|
🚀 Cherry-picked to staging by https://github.com/mountiny in version: 9.4.75-0 🚀
|
|
🤖 No help site changes are required for this PR — I did not create a docs PR. This is a layout-only fix. It enables the form's scroll view in landscape, gives the prompt input a fixed height there, and scrolls the focused input into view. No feature, flow, label, or copy changed. Why no docs update is neededDiff scope: one file, Article checked: Why nothing should be added: the bug made the Save button unreachable in landscape. The fix restores the behavior the article already describes, rather than introducing new behavior. Per @GCyganek, please review the linked help site PR and confirm it reflects the current behavior. Then mark the linked help site PR |
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.4.74-2 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.4.75-3 🚀
Bundle Size Analysis (Sentry): |
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.4.75-3 🚀
Bundle Size Analysis (Sentry): |
Explanation of Change
In landscape mode the agent prompt form rendered without a scroll view, so the Save button was unreachable once the keyboard opened.
EditPromptPagenow enables the form's scroll view in landscape, gives the prompt input a fixed height there instead offlex1, and scrolls the focused input into view on iOS via the existingscrollToMultilineInputhelper.Fixed Issues
$ #100640
PROPOSAL: N/A
Tests
Offline tests
N/A
QA Steps
Same as tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectionAvatar, 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.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-09-09.at.09.35.58.mov
Android: mWeb Chrome
iOS: Native
Screen.Recording.2026-09-09.at.09.34.26.mov
iOS: mWeb Safari
Screen.Recording.2026-09-09.at.09.38.09.mov
MacOS: Chrome / Safari