Skip to content
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

[$500] mWeb - Bank account - Page scrolls to the top when tapping on a field #36461

Closed
1 of 6 tasks
m-natarajan opened this issue Feb 14, 2024 · 22 comments
Closed
1 of 6 tasks
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Engineering External Added to denote the issue can be worked on by a contributor Reviewing Has a PR in review Weekly KSv2

Comments

@m-natarajan
Copy link

m-natarajan commented Feb 14, 2024

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: v1.4.41-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:

Action Performed:

Pre-requisite: the user must be logged in and have created a workspace.

  1. Go to Workspace > Bank account.
  2. Select "Connect manually".
  3. Tap on any of the fields.
  4. Verify the page scrolls to the top.

Expected Result:

The focus should remain on the selected field.

Actual Result:

The page scrolls to the top.

Workaround:

unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

Bug6378780_1707868962144.Hzic1986_1_.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01f9f343288d7d26ba
  • Upwork Job ID: 1757590702622396416
  • Last Price Increase: 2024-02-14
  • Automatic offers:
    • fedirjh | Reviewer | 0
    • akinwale | Contributor | 0
@m-natarajan m-natarajan added DeployBlockerCash This issue or pull request should block deployment External Added to denote the issue can be worked on by a contributor Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Feb 14, 2024
@melvin-bot melvin-bot bot changed the title mWeb - Bank account - Page scrolls to the top when tapping on a field [$500] mWeb - Bank account - Page scrolls to the top when tapping on a field Feb 14, 2024
Copy link

melvin-bot bot commented Feb 14, 2024

Job added to Upwork: https://www.upwork.com/jobs/~01f9f343288d7d26ba

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Feb 14, 2024
Copy link

melvin-bot bot commented Feb 14, 2024

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

Copy link

melvin-bot bot commented Feb 14, 2024

Triggered auto assignment to @miljakljajic (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels Feb 14, 2024
Copy link
Contributor

👋 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:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.

Copy link

melvin-bot bot commented Feb 14, 2024

Auto-assign attempt failed, all eligible assignees are OOO.

@jeremy-croff
Copy link
Contributor

Proposal

Please re-state the problem that we are trying to solve in this issue.

We want the keyboard not to overlap the input selected

What is the root cause of that problem?

The keyboard is not adjusting the height to the margin on the screen. As well as the input validation errors.

What changes do you think we should make in order to solve the problem?

We can make a simple change to update the margin to padding, so that the input doesn't get covered by the keyboard

<View style={[styles.ph5, styles.mb5, styles.mt3, {height: CONST.BANK_ACCOUNT.STEPS_HEADER_HEIGHT}]}>

updating mt3 style to pt3

What alternative solutions did you explore? (Optional)

@andreasnw
Copy link
Contributor

Proposal

Please re-state the problem that we are trying to solve in this issue.

component didn't automatically adjust its height and position while the virtual keyboard is displayed.

What is the root cause of that problem?

the BankInfo component's maximum height is set to 100%, which means it can't adjust or scroll beyond the screen

<ScreenWrapper
testID={BankInfo.displayName}
includeSafeAreaPaddingBottom={false}
shouldEnablePickerAvoiding={false}
shouldEnableMaxHeight
>

What changes do you think we should make in order to solve the problem?

remove the shouldEnableMaxHeight props from the ScreenWrapper component on BankList page.

        <ScreenWrapper
            testID={BankInfo.displayName}
            includeSafeAreaPaddingBottom={false}
            shouldEnablePickerAvoiding={false}
        >

What alternative solutions did you explore? (Optional)

Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.

@miljakljajic
Copy link
Contributor

@fedirjh any thoughts on the above?

@fedirjh
Copy link
Contributor

fedirjh commented Feb 14, 2024

Looking

@mountiny mountiny self-assigned this Feb 14, 2024
@fedirjh
Copy link
Contributor

fedirjh commented Feb 14, 2024

This is related to #34498

cc @MrMuzyk

@mountiny
Copy link
Contributor

@MrMuzyk @barttom could have a look

@mountiny mountiny added Daily KSv2 and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Feb 14, 2024
@mountiny
Copy link
Contributor

Looking at the bug this is not a blocker, rather a minor inconvenience they can still scroll and see the field just fine.

@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Feb 14, 2024
Copy link

melvin-bot bot commented Feb 14, 2024

📣 @fedirjh 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app!

Offer link
Upwork job

Copy link

melvin-bot bot commented Feb 14, 2024

📣 @akinwale 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app!

Offer link
Upwork job
Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑‍💻
Keep in mind: Code of Conduct | Contributing 📖

@andreasnw
Copy link
Contributor

Hi, sorry, I'm pretty new here and feeling a bit lost. Is there something off about my suggestion? And why is it assigned to someone else? @mountiny @fedirjh 😃

@mountiny
Copy link
Contributor

@andreasnw Hello! Sorry for the confusion.

This issue has been raised as a regression to a specific PR which was linked above. In such cases, per the contributor guidelines the PR author should be in charge of fixing it as well as the C+ (@akinwale) who has reviewed the original PR.

So in these cases we will prefer them to fix this issue as they already got paid for their work. In case they will use your solution provided, we can reward you with partial payment for help.

I hope this helps

@andreasnw
Copy link
Contributor

Got it @mountiny, thank you!

@Swor71
Copy link
Contributor

Swor71 commented Feb 14, 2024

Hey I'm Marcin from Callstack - expert contributor group - I'd like to work on this issue

@mountiny
Copy link
Contributor

@Swor71 will tackle this tomorrow

@Swor71
Copy link
Contributor

Swor71 commented Feb 21, 2024

fixed in: #37032

@andreasnw
Copy link
Contributor

this pull request #37032 has the same solution that I came up with earlier #36461 (comment). any chance i could get some compensation for this @mountiny ?

@mountiny
Copy link
Contributor

mountiny commented Mar 4, 2024

@andreasnw sorry, this was a follow up to feature Callstack agency worked on and it was starightforward solution, I wont complicate this further, sorry we have mislabelled this as help wanted when agency was supposed to handle this

@mountiny mountiny closed this as completed Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Engineering External Added to denote the issue can be worked on by a contributor Reviewing Has a PR in review Weekly KSv2
Projects
None yet
Development

No branches or pull requests

8 participants