-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[Due for payment 2025-03-24] [$250] Reports- A white area is covering half of the Attachment search result section #57369
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
Comments
Triggered auto assignment to @sakluger ( |
Job added to Upwork: https://www.upwork.com/jobs/~021894434848739943598 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mananjadhav ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.A white area is covering half of the Attachment search result section What is the root cause of that problem?Viewport height is not set correctly on the search page or Keyboard layout has an error What changes do you think we should make in order to solve the problem?Check the viewport height and keyboard layout and fix it What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?N/A What alternative solutions did you explore? (Optional) |
The current proposal is incomplete. Waiting for better proposals. |
Sure I will |
ProposalPlease re-state the problem that we are trying to solve in this issue.There is a white area is covering half of the Attachment search result section What is the root cause of that problem?We always open a new search page when a new search query is submitted:
Each search page is wrapped inside the ScreenWrapper component: App/src/pages/Search/SearchPageNarrow.tsx Line 122 in ac83517
which utilizes KeyboardAvoidingView to automatically adjust the screen height when the keyboard is open. In this bug, when the keyboard is open and a new search query is submitted, a new search screen is opened. At that moment, KeyboardAvoidingView still detects the keyboard as open, leaving extra space for it. As a result, a white area appears at the bottom of the screen. What changes do you think we should make in order to solve the problem?Make sure the keyboard is closed successfully before navigating to a new search screen can address the issue:
KeyboardUtils.dismiss().then(() => {
submitSearch(textInputValue);
}); Only apply the fix with android native if the bug only appear in this platform. What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?NA What alternative solutions did you explore? (Optional)Update:
KeyboardUtils.dismiss().then(() => {
Navigation.navigate(ROUTES.SEARCH_ROOT.getRoute({query: updatedQuery}));
}); or we can wrap the navigate logic inside InteractionManager.runAfterInteractions instead of KeyboardUtils.dismiss. |
Hey @mananjadhav, could you please review the new proposal? |
Triggered auto assignment to @marcochavezf, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@mananjadhav Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@mananjadhav Could you link the proposal to your review to make it easier for the internal team to track? |
Yes. Thank you. Done. |
@marcochavezf could you take a look at the @mananjadhav's recommendation? #57369 (comment) |
@marcochavezf Could you help review this issue when you have a sec? |
Apologies for the delay guys, and thanks for the review @mananjadhav, the proposal also LGTM. Assigning @daledah 🚀 |
📣 @daledah 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@mananjadhav PR is ready for review. |
Testing the PR. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.13-5 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2025-03-24. 🎊 For reference, here are some details about the assignees on this issue:
|
@mananjadhav @sakluger @mananjadhav The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
@mananjadhav can you please complete the BZ checklist? |
Summarizing payment on this issue: Contributor: @daledah $250, paid via Upwork |
BugZero Checklist:
Bug classificationSource of bug:
Where bug was reported:
Who reported the bug:
@sakluger I don't think we need a regression test for this one, as it's a very edge case with one platform and that would generally occur in some devices only. |
$250 approved for @mananjadhav |
Sounds good @mananjadhav. Looks like we're good to close this one out! |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 9.1.5-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: No, reproducible on hybrid only
If this was caught during regression testing, add the test name, ID and link from TestRail: #54228
Email or phone of affected tester (no customers): N/A
Issue reported by: Applause Internal Team
Device used: SS S20 FE/ Àndroid 13
App Component: Other
Action Performed:
Precondition: User has some attachements on Chat
Expected Result:
The search result is fully displayed to the bottom of screen
Actual Result:
There is a white area is covering half of the Attachment search result section
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6753232_1740451769042.az_recorder_20250225_092906.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @mananjadhavThe text was updated successfully, but these errors were encountered: