Fix - Android - Accounting - Error message overlapped by OS navigation buttons#86249
Fix - Android - Accounting - Error message overlapped by OS navigation buttons#86249FitseTLT wants to merge 1 commit intoExpensify:mainfrom
Conversation
|
@Krishna2323 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] |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 820a826c59
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| shouldUpdateFocusedIndex={shouldUpdateFocusedIndex} | ||
| alternateNumberOfSupportedLines={2} | ||
| addBottomSafeAreaPadding={!errors || isEmptyObject(errors)} | ||
| addBottomSafeAreaPadding={!!errors && !isEmptyObject(errors)} |
There was a problem hiding this comment.
Keep bottom safe-area padding in non-error state
This condition reversal removes bottom safe-area padding for the normal case where errors is empty (most callers pass {} from getLatestErrorField(...) when there is no error). In SelectionScreen, that means edge-to-edge Android pages now render the list flush to the OS navigation area until an error appears, so the last option can be obscured by system navigation buttons. The fix for error overlap should not drop safe-area padding for the no-error path.
Useful? React with 👍 / 👎.
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
Explanation of Change
Fixed Issues
$ #84841
PROPOSAL: #84841 (comment)
Tests
Preconditions:
The user has a workspace.
QBO is connected in accounting.
Offline tests
same as 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))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
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari