-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[HOLD for payment 2025-01-02] [$250] Android - Workspace - White space below next button & keypad not closed on tapping outside #53910
Comments
Triggered auto assignment to @Christinadobrzyn ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.There are extra spaces between the button and keyboard on the workflow page. What is the root cause of that problem?On the Expenses From page, we disable the padding bottom from ScreenWrapper. App/src/pages/workspace/workflows/approvals/WorkspaceWorkflowsApprovalsExpensesFromPage.tsx Lines 205 to 207 in 8749259
The padding bottom is added from the SelectionList using App/src/components/SelectionList/BaseSelectionList.tsx Lines 770 to 774 in 8749259
Also, the button is wrapped with FixedFooter which has its own padding bottom already. App/src/components/SelectionList/BaseSelectionList.tsx Lines 839 to 841 in 8749259
This looks fine when the keyboard isn't visible because the padding fills the device navigation bar space, but when the keyboard shows, it looks like too much space. It doesn't happen on another page that uses SelectionList too because Why it's not a problem if the padding bottom is added from the ScreenWrapper? It's because the padding bottom is applied to the View that wraps the KeyboardAvoidingView. App/src/components/ScreenWrapper.tsx Lines 278 to 288 in 97d5921
But the padding in SelectionList is added as the children of the KeyboardAvoidingView. What changes do you think we should make in order to solve the problem?Enable the padding bottom from the ScreenWrapper for the ExpensesFrom page. App/src/pages/workspace/workflows/approvals/WorkspaceWorkflowsApprovalsExpensesFromPage.tsx Lines 205 to 207 in 8749259
(we can check for other pages that uses BaseSelectionList too, like in Approver page for example) What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?N/A |
Hum this is a really minor change. I'm not sure if this is something that is very important to update at this time. @bernhardoj do you this is important for any reason? |
Just a heads up that I'm going to be ooo Dec 12 - 13th. Back on Monday 16th. I'm not going to assign this to a BZ teammate but if anything is urgent, please reach out to the team for a volunteer. |
It's not something critical, but seeing those extra spaces is very unpleasant. (this happens on some pages too) |
Job added to Upwork: https://www.upwork.com/jobs/~021867598579287232853 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @c3024 ( |
Okay, I think if you think this should be resolved, we'll move it forward. Adding external for a review of #53910 (comment). |
Is this a problem for all pages with |
Yes, except if the list doesn't have a footer. For example, it happens on the Approver page too (the Approver search input only shows if there is >8 item) |
@bernhardoj 's proposal here LGTM! 🎀 👀 🎀 C+ Reviewed |
Triggered auto assignment to @cristipaval, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
PR is ready cc: @c3024 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.78-6 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-01-02. 🎊 For reference, here are some details about the assignees on this issue:
|
@c3024 @Christinadobrzyn @c3024 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] |
Payment Summary
BugZero Checklist (@Christinadobrzyn)
|
Payment summary here - #53910 (comment) @c3024 do we need a regression test for this? |
DMd @c3024 to see if we need a regression test |
BugZero Checklist:
Bug classificationSource of bug:
Where bug was reported:
Who reported the bug:
Regression Test ProposalPrecondition:Have a "Control" workspace with
Test:
Do we agree 👍 or 👎 |
Requested in ND. |
Awesome! Thank you @bernhardoj and @c3024! Closing this out as complete. |
$250 approved for @bernhardoj |
$250 approved for @c3024 |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: V9. 0.74-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: Yes, reproducible on both
Issue reported by: Applause Internal Team
Action Performed:
Pre- condition: Have control workspace with 2 members invited, enabled workflow and add approval
Expected Result:
In add approval workflow page, the white space between next button and keypad must be consistent, similarly on tapping outside keypad closing behavior too must be consistent.
Actual Result:
In add approval workflow page, the white space between next button and keypad in less in mweb and more in android. After tapping outside, keypad closed in mweb and remain opened in android.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6690627_1733897506218.as.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @ChristinadobrzynThe text was updated successfully, but these errors were encountered: