-
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
[HOLD for payment 2023-06-21] [$1000] Mweb - Workspace - the "Next" button overlaps the input field for specific phone modal (Huawei P10 lite) #19740
Comments
Triggered auto assignment to @mallenexpensify ( |
Bug0 Triage Checklist (Main S/O)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.The Next button overlaps the input field when the screen height is small enough. What is the root cause of that problem?The flex style configuration causes the textInput to shrink along with the parent container, which causes an overlap when the screen height is too small. What changes do you think we should make in order to solve the problem?We need to add What alternative solutions did you explore? (Optional)None |
Job added to Upwork: https://www.upwork.com/jobs/~01a873f4cf420dcd10 |
Current assignee @mallenexpensify is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mollfpr ( |
Triggered auto assignment to @flodnv ( |
@mollfpr , can you review @Ollyws proposal above please? |
Reviewing now! |
@Ollyws Could you attach a video result of your proposal? Thanks! |
@mollfpr Sure, it's easier to demonstrate on web: Before: After: |
Also, if you're having trouble reproducing it on mWeb. Try selecting a fairly short virtual device (Pixel 2 for example). Before videopressgif_before.mp4After videopressgif_after.mp4 |
@mollfpr what are your thoughts? |
The result looks good, but I want to try the proposal on my local. @Ollyws Could you attach the code diff? |
@mollfpr Sure. We might want to pass the styles as props to BaseOptionsSelector from WorkspaceInvitePage so they only apply to this instance of the component. I also just noticed I put Code diffdiff --git a/src/components/OptionsSelector/BaseOptionsSelector.js b/src/components/OptionsSelector/BaseOptionsSelector.js
index 312f5d386b..3e9d3a6d56 100755
--- a/src/components/OptionsSelector/BaseOptionsSelector.js
+++ b/src/components/OptionsSelector/BaseOptionsSelector.js
@@ -322,7 +322,7 @@ class BaseOptionsSelector extends Component {
this.props.onLayout();
}
}}
- contentContainerStyles={shouldShowFooter ? undefined : [this.props.safeAreaPaddingBottomStyle]}
+ contentContainerStyles={shouldShowFooter ? undefined : [this.props.safeAreaPaddingBottomStyle, styles.flex1, {flexBasis: 0}]}
isLoading={!this.props.shouldShowOptions}
/>
);
diff --git a/src/pages/workspace/WorkspaceInvitePage.js b/src/pages/workspace/WorkspaceInvitePage.js
index a69c3fa7ee..f7acf278bd 100644
--- a/src/pages/workspace/WorkspaceInvitePage.js
+++ b/src/pages/workspace/WorkspaceInvitePage.js
@@ -274,7 +274,7 @@ class WorkspaceInvitePage extends React.Component {
shouldShowBackButton
onBackButtonPress={() => Navigation.goBack()}
/>
- <View style={[styles.flex1]}>
+ <View style={[styles.flexGrow1, styles.flexShrink0, styles.flexBasisAuto]}>
<OptionsSelector
autoFocus={false}
canSelectMultipleOptions |
Looks like something related to As a reminder, please make sure that all proposals are not workarounds and that any and all attempt to fix the issue holistically have been made before proceeding with a solution. Proposals to change our Feel free to drop a note in #expensify-open-source with any questions. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Thanks! Go for it @Ollyws 👍 |
📣 @Ollyws You have been assigned to this job by @flodnv! |
All yours @mollfpr! |
@Ollyws @mollfpr hired for the job, @usmantariq96 hired for reporting. Please accept |
@mallenexpensify applied with thanks |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.27-7 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-06-21. 🎊 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.
As a reminder, here are the bonuses/penalties that should be applied for any External 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:
|
@Ollyws , can you please accept the job and reply here once you have? (there's two offers cuz I didn't see there was a pending one when I invited ya again) |
@mallenexpensify Accepted the first one. Thanks! |
No offending PR is causing this bug and this is very edge-case.
I don't think any checklist will cover this bug since it's related to specific devices.
Yes!
|
IDK, this feels very specific.... What I'm saying is that if we already have a test that does
Then it's already covered. Let's ask QA @mollfpr @mallenexpensify ? |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
The "Next" button should not overlap the input field.
Actual Result:
On small screen devices, the "Next" button overlaps the input field.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.19.2
Reproducible in staging?: yes
Reproducible in production?: yes
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
Notes/Photos/Videos: Any additional supporting documentation
Bug.3.mp4
Expensify/Expensify Issue URL:
Issue reported by: @usmantariq96
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1684994471559049
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: