Skip to content

[$4000] mWeb/Chrome - Request a setup call - Field inputs are overlapped by "Call me" button when the keypad opens up to edit the fields #10036

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

Closed
kbecciv opened this issue Jul 20, 2022 · 28 comments
Assignees
Labels
Engineering External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors Improvement Item broken or needs improvement. Weekly KSv2

Comments

@kbecciv
Copy link

kbecciv commented Jul 20, 2022

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Action Performed:

  1. Go to URL https://staging.new.expensify.com/ and login with any account
  2. Go to Settings > Workspace > General Setting > Request a call
  3. Tap on any field

Expected Result:

The button should be positioned over the keyboard, but should not cover the input field that they are focused / tapped into

Actual Result:

The button covers the input fields when focused and inputs are overlapped and hidden

Workaround:

Unknown

Platform:

Where is this issue occurring?

  • Mobile Web

Version Number: 1.1.85.5

Reproducible in staging?: Yes

Reproducible in production?: Yes

Email or phone of affected tester (no customers): any

Logs: https://stackoverflow.com/c/expensify/questions/4856

Notes/Photos/Videos: Any additional supporting documentation

Bug5656083_Record_2022-07-20-19-28-20.mp4
Screen_Recording_20220720-131245_Chrome.mp4
20220802_120818.1.mp4

Expensify/Expensify Issue URL:

Issue reported by: Applause - Internal Team

Slack conversation:

View all open jobs on GitHub

@melvin-bot
Copy link

melvin-bot bot commented Jul 20, 2022

Triggered auto assignment to @danieldoglas (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

@danieldoglas danieldoglas added Weekly KSv2 External Added to denote the issue can be worked on by a contributor Improvement Item broken or needs improvement. and removed Daily KSv2 labels Jul 21, 2022
@melvin-bot
Copy link

melvin-bot bot commented Jul 21, 2022

Triggered auto assignment to @kadiealexander (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Jul 21, 2022
@danieldoglas
Copy link
Contributor

Exported

@kadiealexander
Copy link
Contributor

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Daily KSv2 labels Jul 25, 2022
@melvin-bot
Copy link

melvin-bot bot commented Jul 25, 2022

Triggered auto assignment to Contributor-plus team member for initial proposal review - @parasharrajat (Exported)

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Jul 25, 2022
@melvin-bot
Copy link

melvin-bot bot commented Jul 25, 2022

Triggered auto assignment to @thienlnam (Exported), see https://stackoverflow.com/c/expensify/questions/7972 for more details.

@melvin-bot melvin-bot bot changed the title mWeb/Chrome - Request a setup call - "Call me" button jumps and overlaps [$250] mWeb/Chrome - Request a setup call - "Call me" button jumps and overlaps Jul 25, 2022
@wildan-m
Copy link
Contributor

wildan-m commented Jul 27, 2022

Proposal

To avoid the "Call me" button from jumping, we can move in the <FixedFooter> component into the <ScrollView> component.

git diff ./src/pages/RequestCallPage.js

@@ -341,27 +341,27 @@ class RequestCallPage extends Component {
                                             <Text style={[styles.textMicroSupporting, styles.mt4]}>{this.getWaitTimeMessage()}</Text>
                                         </Section>
                                     </FormElement>
+                                    <FixedFooter>
+                                        {isBlockedFromConcierge && (
+                                            <View style={[styles.flexRow, styles.alignItemsCenter, styles.mb3]}>
+                                                <Icon src={Expensicons.Exclamation} fill={colors.yellow} />
+                                                <Text style={[styles.mutedTextLabel, styles.ml2, styles.flex1]}>{this.props.translate('requestCallPage.blockedFromConcierge')}</Text
>
+                                            </View>
+                                        )}
+                                        {!_.isEmpty(this.props.requestCallForm.error) && (
+                                            <Text style={styles.formError}>
+                                                {this.props.requestCallForm.error}
+                                            </Text>
+                                        )}
+                                        <FormAlertWithSubmitButton
+                                            buttonText={this.props.translate('requestCallPage.callMe')}
+                                            onSubmit={this.onSubmit}
+                                            containerStyles={[styles.w100, styles.mb2, styles.mh0, styles.flexReset]}
+                                            isLoading={this.props.requestCallForm.loading}
+                                            isDisabled={isBlockedFromConcierge}
+                                        />
+                                    </FixedFooter>
                                 </ScrollView>
-                                <FixedFooter>
-                                    {isBlockedFromConcierge && (
-                                        <View style={[styles.flexRow, styles.alignItemsCenter, styles.mb3]}>
-                                            <Icon src={Expensicons.Exclamation} fill={colors.yellow} />
-                                            <Text style={[styles.mutedTextLabel, styles.ml2, styles.flex1]}>{this.props.translate('requestCallPage.blockedFromConcierge')}</Text>
-                                        </View>
-                                    )}
-                                    {!_.isEmpty(this.props.requestCallForm.error) && (
-                                        <Text style={styles.formError}>
-                                            {this.props.requestCallForm.error}
-                                        </Text>
-                                    )}
-                                    <FormAlertWithSubmitButton
-                                        buttonText={this.props.translate('requestCallPage.callMe')}
-                                        onSubmit={this.onSubmit}
-                                        containerStyles={[styles.w100, styles.mb2, styles.mh0, styles.flexReset]}
-                                        isLoading={this.props.requestCallForm.loading}
-                                        isDisabled={isBlockedFromConcierge}
-                                    />
-                                </FixedFooter>
                             </>
                         )}
                 </KeyboardAvoidingView>

Sample result:
Call me button inside ScrollView component

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Jul 27, 2022
@thienlnam thienlnam added Weekly KSv2 and removed Daily KSv2 labels Jul 28, 2022
@melvin-bot melvin-bot bot removed the Overdue label Aug 23, 2022
@kadiealexander kadiealexander changed the title [$1000] mWeb/Chrome - Request a setup call - Field inputs are overlapped by "Call me" button when the keypad opens up to edit the fields [$2000] mWeb/Chrome - Request a setup call - Field inputs are overlapped by "Call me" button when the keypad opens up to edit the fields Aug 23, 2022
@parasharrajat
Copy link
Member

Good point. Maybe we decided to change the flow? Asked here https://expensify.slack.com/archives/C01GTK53T8Q/p1661281246518809.

@parasharrajat
Copy link
Member

Based on the slack chat, it seems that a recent refactor changed the behavior of this page and the issue is no more valid.

@Expensify/applause Could you please retest this?

@melvin-bot melvin-bot bot added the Overdue label Sep 2, 2022
@kadiealexander
Copy link
Contributor

@Expensify/applause please see above!

@melvin-bot melvin-bot bot removed the Overdue label Sep 2, 2022
@kbecciv
Copy link
Author

kbecciv commented Sep 2, 2022

@kadiealexander Issue is reproduced with build 1.1.96.5

Screen_Recording_20220902-123416_Chrome.1.mp4

@wildan-m
Copy link
Contributor

wildan-m commented Sep 2, 2022

@kbecciv That's updated expected behavior.

The content is scrollable when the keyboard shows up (over the keyboard height)

Please check my slack comment here.

@melvin-bot melvin-bot bot added the Overdue label Sep 12, 2022
@kadiealexander kadiealexander changed the title [$2000] mWeb/Chrome - Request a setup call - Field inputs are overlapped by "Call me" button when the keypad opens up to edit the fields [$4000] mWeb/Chrome - Request a setup call - Field inputs are overlapped by "Call me" button when the keypad opens up to edit the fields Sep 12, 2022
@kadiealexander
Copy link
Contributor

kadiealexander commented Sep 12, 2022

Price doubled! Also, reassigning as I'm ooo for the next 9 days.

@melvin-bot melvin-bot bot removed the Overdue label Sep 12, 2022
@kadiealexander kadiealexander removed the External Added to denote the issue can be worked on by a contributor label Sep 12, 2022
@kadiealexander kadiealexander removed their assignment Sep 12, 2022
@kadiealexander kadiealexander added the External Added to denote the issue can be worked on by a contributor label Sep 12, 2022
@melvin-bot
Copy link

melvin-bot bot commented Sep 12, 2022

Triggered auto assignment to @Christinadobrzyn (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

@melvin-bot
Copy link

melvin-bot bot commented Sep 15, 2022

⚠️ Looks like this issue was linked to a possible regression on PRODUCTION here

If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

If a production regression has occurred a Root Cause Analysis is required. Please follow the instructions here.

If a regression has occurred and you are the assigned CM follow the instructions here.

If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

@melvin-bot melvin-bot bot added the Overdue label Sep 21, 2022
@thienlnam
Copy link
Contributor

Let's put a hold on doubling this, we haven't gotten confirmation that this bug is still occurring

cc @kbecciv Can you please confirm?

#10036 (comment)

@melvin-bot melvin-bot bot removed the Overdue label Sep 21, 2022
@kbecciv
Copy link
Author

kbecciv commented Sep 22, 2022

@thienlnam Checking with team, will update you shortly.

@Puneet-here
Copy link
Contributor

It's not reproducible because the button doesn't float now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Engineering External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors Improvement Item broken or needs improvement. Weekly KSv2
Projects
None yet
Development

No branches or pull requests

9 participants