-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Fix #67651 - Gap between mention list and compose box #69141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
@shubham1206agra 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] |
| const {paddingBottom: bottomInset, paddingTop: topInset} = StyleUtils.getPlatformSafeAreaPadding(insets ?? undefined); | ||
|
|
||
| // On Android < 15, the window height does not include the system bars height, so we subtract them for now. | ||
| // TODO: Adjust position calculation once https://github.com/facebook/react-native/pull/53254 is merged (stop subtracting insets). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@zoontek, I believe we decided to use the RN patch, which you created upstream in the RN library.
|
🚧 @mountiny has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪
|
|
@zoontek Your code does not work on API Level 34 device. |
@shubham1206agra What do you mean by "does not work"? The screenshot is taken on Android 14 (API level 34) |
|
@shubham1206agra I cannot reproduce this, only what the QA team has (the shift between API 34 and 35 of the height of the navigation bar) |
|
@zoontek, I am not sure what is happening, but it is working on my device now. Looks like a config issue in HybridApp that is causing incorrect height calculation. |


Explanation of Change
Until facebook/react-native#53254 is shipped and that window dimensions always includes the system bars height in edge-to-edge (on Android < 15 and >= 15), we need to patch the suggestion popover position to be identical on all Android versions.
Fixed Issues
$ #67651
$ #67651 (comment)
PROPOSAL: #67651 (comment)
Tests
QA Steps
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