-
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 2023-12-29] [$500] IOU - Error message in Amount page overlaps with amount field when zoom level in 150% #32661
Comments
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
Triggered auto assignment to @flodnv ( |
Welp, I found another bug on production: ![]() Edit: reported here: https://expensify.slack.com/archives/C049HHMV9SM/p1701966565899779 |
Job added to Upwork: https://www.upwork.com/jobs/~01485e3068c4913aa8 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @jjcoffee ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Error message in Amount page overlaps with amount field when zoom level in 150% What is the root cause of that problem?This is because we are using absolute positioning for form error message to position it bottom of Amount text input ( App/src/pages/iou/steps/MoneyRequestAmountForm.js Lines 291 to 292 in 5a0b7fd
Whenever there is enough space the error message will stick to the botom of the view that holds the amount text input but when we zoom in and view is pushed up to have a size that can't hold both amount text input and the error message the error message will overlap with the input as the error message is absolutely positioned to the bottom of the parent view component as indicated in the above code. This change of code was introduced in this pr to fix the amount input getting displaced when there is an error message but we shouldn't use absolute positioning as absolute positioned components doesn't occupy space in the dom and it will overlap on the amount input whenever there is no enough space What changes do you think we should make in order to solve the problem?To deal with both issues we should remove absolute positioning and put form help message in a parent view that will have a fixed height (enough to hold the form error message) and hold that space whether there is error message or not and the amount input displacing problem will be fixed without creating this issue of overlapping on zoom. What alternative solutions did you explore? (Optional)But if we want to keep the amount input centered we can keep the error message positioned absolute (leaving the current implementation) and set min-height to the parent view that holds both the amount input and the error message. |
Triggered auto assignment to @sakluger ( |
Bug0 Triage Checklist (Main S/O)
|
Unsure what the expected result would be here as there's nowhere to display the error message once you're zoomed that far in 😄 @FitseTLT Are you able to post a screenshot of your proposal's result? |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
📣 @jjcoffee 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @FitseTLT 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
@FitseTLT when can we expect your PR? 🙏 |
PR ready |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.15-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 2023-12-29. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
Regression Test Proposal
Do we agree 👍 or 👎 |
@sakluger Checklist complete, sorry for the delay! |
Thanks! I created the regression test issue and completed all payouts. |
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: 1.4.9-2
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Issue found when executing PR #32460
Action Performed:
Expected Result:
The error will not overlap with amount input field
Actual Result:
The error overlaps with amount input field
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6304456_1701955194737.RPReplay_Final1701906464.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: