-
Notifications
You must be signed in to change notification settings - Fork 3k
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 2024-05-03] [$250] Room - Description Error Message is overlapped by highlight #40519
Comments
Triggered auto assignment to @marcaaron ( |
Triggered auto assignment to @trjExpensify ( |
👋 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:
|
We think this bug might be related to #vip-vsb |
@trjExpensify 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. |
Doesn't seem like this needs to be a blocker since it only happens if you max out the description |
ProposalPlease re-state the problem that we are trying to solve in this issue.Room description error message is overlapped with the workspace field highlight. What is the root cause of that problem?We set the containerStyle of the description field with a maxHeight of 115.
The containerStyle is applied to this View which contains the text input and the error message App/src/components/TextInput/BaseTextInput/index.tsx Lines 287 to 290 in bec1c8e
The maxHeight from containerStyle is also being used to set the max height for the input height itself. So, when the input reaches its max height and the error shows, the error message will overlap with the element below it. What changes do you think we should make in order to solve the problem?I think we shouldn't pass the max height of the auto grow height to the containerStyle as they are being used differently. So, I propose to have a new props called
Then, we can replace all usages of |
@trjExpensify, @marcaaron Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Job added to Upwork: https://www.upwork.com/jobs/~016751dd795b5647cd |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @Pujan92 ( |
CC: @jasperhuangg for vis, looks like your PR was being previewed in the OP on this. |
Thanks for the proposals. @Krishna2323 and @tienifr proposed adjusting margin-bottom/max-height by considering an error message to be of a single line. But the error message can be longer so their proposals aren't solving the issue at the root level. Though @tienifr mentioned calculating error text height dynamically, I don't think it is the best approach here. According to me, we should not restrict the container height as it is also responsible for rendering the error message which is correctly pointed out in @bernhardoj's proposal. We can move here with @bernhardoj's proposal where they suggested passing a new prop 🎀👀🎀 C+ reviewed |
Current assignee @marcaaron is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
📣 @Pujan92 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @bernhardoj 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
PR is ready cc: @Pujan92 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.66-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 2024-05-03. 🎊 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:
|
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 Steps
|
It's a pretty niche bug to get to the max character limit with a description input, so I'm going to forgo the regression test for this. Payment summary as follows:
Paid, closing.. thanks ya'll! |
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.63-0
Reproducible in staging?: y
Reproducible in production?: No, new feature to show the error message
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:
Action Performed:
Expected Result:
User expects the highlight to NOT interfere with the error message
Actual Result:
The highlight is overlapping the error message
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6454141_1713466549486.Room_description_Error_message_is_being_overlapped_by_the_hihglight.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: