Focused inputs in split expense page are always visible above the keyboard on mobile devices#68645
Conversation
jmusial
left a comment
There was a problem hiding this comment.
Hook splitting between native and web looks good! Just cleanup and will be awesome 🚀
…lem with freezing scroll on android web
|
Hey! I see that you made changes to our Form component. Make sure to update the docs in FORMS.md accordingly. Cheers! |
|
I also found a bug unrelated to my task of fixing inputs, which currently exists on main. I’d prefer not to address it in this PR since there’s already quite a lot of code here. It’s not related to my changes and only occurs on mWeb iOS. The bug is that when you first enter the split expense page, add splits, and focus on the ones at the bottom, the screen simply shifts up and doesn’t go back down afterward. This bug only disappears if you reload the split expense page. Screen.Recording.2025-08-27.at.14.08.25.mov |
|
@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: HybridApp2025-09-02.13.42.10.movAndroid: mWeb Chrome2025-09-02.13.38.45.moviOS: HybridApp2025-09-02.13.35.50.moviOS: mWeb Safari2025-09-02.13.35.50.movMacOS: Chrome / Safariweb.movMacOS: Desktopweb.mov |
|
@collectioneur |
|
This is a minor bug 2025-09-02.13.36.25.mov |
|
But overall, the changes look good! |
|
Yes, we can't do anything |
|
Okay then |
|
We did not find an internal engineer to review this PR, trying to assign a random engineer to #64251 as well as to this PR... Please reach out for help on Slack if no one gets assigned! |
|
I was holding on the |
|
@collectioneur we have conflicts now, can you resolve them 🙏 |
|
Resolved conflicts. |
|
✋ 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/aldo-expensify in version: 9.2.2-0 🚀
|
|
🚀 Deployed to production by https://github.com/francoisl in version: 9.2.2-8 🚀
|
Explanation of Change
I wrote the logic so that on mobile devices, both on native and mWeb, when the keyboard is raised on the split expense page, the input the user taps is always visible and aligned above the keyboard.
Fixed Issues
$ #64251
Tests
Offline tests
QA Steps
Same as tests
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_native.mov
Android: mWeb Chrome
android_web.mov
iOS: Native
ios_native.mov
iOS: mWeb Safari
ios_web.mov