-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Android - Switch to Expesify classic - Next button has extra padding on 2nd screen of survey #47280
Comments
Triggered auto assignment to @JmillsExpensify ( |
We think that this bug might be related to #vip-vsp |
@JmillsExpensify FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors |
ProposalPlease re-state the problem that we are trying to solve in this issue.Android - Switch to Expesify classic - Next button has extra padding on 2nd screen of survey What is the root cause of that problem?The
What changes do you think we should make in order to solve the problem?We should remove that style. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Next button of 2nd screen of survey on Android has extra spacing below it compares to other platform. What is the root cause of that problem?On the 2nd screen of the survey page, we have a max height style to limit the form height.
The max height value in Android has a wrong calculation that leads to the form not taking all available space. The form height is used to let the form input to expand based on the form height. App/src/pages/settings/ExitSurvey/ExitSurveyResponsePage.tsx Lines 73 to 81 in 420c2a1
The form height gets the window height and then subtracts it from the inset top. However, the window height on Android doesn't take the inset top height into account, so subtracting it from the inset top will make it smaller. We face this similar issue in #14563 too. Another issue I noticed is that on iOS, the input can overlap with the button. This is because recently, we have a PR that adds another bottom space for the button, but we didn't include the calculation yet to the max input height calculation. App/src/pages/settings/ExitSurvey/ExitSurveyResponsePage.tsx Lines 82 to 93 in 420c2a1
What changes do you think we should make in order to solve the problem?Add
OR We can remove the
The App/src/components/Form/FormWrapper.tsx Lines 107 to 111 in 420c2a1
But the initial value of To fix the iOS issue, we need to include the bottom padding to
|
@JmillsExpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@JmillsExpensify 6 days overdue. This is scarier than being forced to listen to Vogon poetry! |
Unable to auto-create job on Upwork. The BZ team member should create it manually for this issue. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @rayane-djouah ( |
@rayane-djouah proposals for review above when you get a chance. |
@bernhardoj - Thanks for the detailed proposal and for catching the iOS "input overlap with the button" bug. I agree with your proposed RCA and solution. Note: For the "input overlap with the button" bug, we need to consider the input and button messages in responseInputMaxHeight calculation: @bernhardoj's proposal looks good to me. |
Triggered auto assignment to @roryabraham, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
PR is ready cc: @rayane-djouah |
Note The production deploy automation failed: This should be on [HOLD for Payment 2024-09-12] according to #48515 production deploy checklist, confirmed in #47957 (comment) |
@JmillsExpensify Friendly bump on updating the issue labels and title. Thanks! |
Checklist
Regression Test Proposal
Do we agree 👍 or 👎 |
@JmillsExpensify Friendly bump |
Payment summary:
|
Offer sent for @rayane-djouah |
@JmillsExpensify Offer accepted, Thanks |
All paid out. I'm going to pass on a regression test for this one given the polish nature of this bug. @bernhardoj please submit a request via New Expensify and we'll make sure your payment is processed. |
Requested in ND. |
Payment summary:
|
$250 approved for @bernhardoj |
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.0.19.3
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team
Issue found when executing PR #47025
Action Performed:
Expected Result:
The next button on all screens of the survey has the same padding
Actual Result:
The Next button has an extra padding on the 2nd screen of the survey ("Why do you prefer Expensify Classic?")
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6570282_1723492036339.video_2024-08-12_15-47-06.mp4
View all open jobs on GitHub
Issue Owner
Current Issue Owner: @rayane-djouahThe text was updated successfully, but these errors were encountered: