fix: Add keyboard offset if offline indicator is visible#58909
Conversation
|
@mountiny ready for review! |
|
@Ollyws Can you please review? |
|
The offline indicator is being hidden by the keyboard on the invite members page: Screen.Recording.2025-03-24.at.14.02.40.mov |
@Ollyws fixed! @mountiny @Ollyws i also just added a couple of comments around the whole styling for the offline indicator in I did not add comments for the other code around the new edge-to-edge bottom safe area handling, because we're going to remove the legacy logic at some point and this is going to become the standard anyway. The final code should be easy to understand without any additional comments |
mountiny
left a comment
There was a problem hiding this comment.
The comments are very helpful, thanks!
Reviewer Checklist
Screenshots/Videos |
|
✋ 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/mountiny in version: 9.1.19-0 🚀
|
|
@chrispader This PR is failing because of issue #58820 az_recorder_20250326_082430.mp4 |
|
@chrispader This PR is failing because of issue #59135 Bug6782471_1742975180635.JRUB3184.mp4 |
|
working on fixing those issues! |
not related to this PR as stated in #59135 (comment) |
fixed in #59144 |
|
@chrispader Also QA found issue #59140 |
could not repro this one and i"m not sure if it's related, as stated in #59140 (comment) |
|
🚀 Deployed to production by https://github.com/cristipaval in version: 9.1.19-5 🚀
|






@mountiny @strepanier03 @FitseTLT
Explanation of Change
If the mobile offline indicator is visible, we need to offset the bottom safe area padding in the
KeyboardAvoidingView.Fixed Issues
$ #58820
PROPOSAL:
Tests
Offline tests
QA Steps
Same as in 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))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
Before:
https://github.com/user-attachments/assets/4e8ade38-62f6-406c-9d37-e5b466adcb62
After:
https://github.com/user-attachments/assets/5aa28927-b274-40df-aa30-c86b1cc39cb0
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop