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

[$1000] IPAD - Sign in - Unable to scroll to the footer in Sign in page #16612

Closed
1 of 7 tasks
kbecciv opened this issue Mar 28, 2023 · 22 comments
Closed
1 of 7 tasks

[$1000] IPAD - Sign in - Unable to scroll to the footer in Sign in page #16612

kbecciv opened this issue Mar 28, 2023 · 22 comments
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 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

Comments

@kbecciv
Copy link

kbecciv commented Mar 28, 2023

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:

  1. Launch the app
  2. Navigate to the sign-in page
  3. Scroll to footer

Expected Result:

Able to scroll to the footer in Sign in page

Actual Result:

Unable to scroll to the footer in Sign in page

Workaround:

Unknown

Platforms:

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

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • MacOS / Chrome / Safari
  • MacOS / Desktop
  • IPAD/ native

Version Number: 1.2.90.6

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

IMG_0269

RPReplay_Final1680004382.MP4

Expensify/Expensify Issue URL:

Issue reported by: Applause - Internal Team

Slack conversation:

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~012487f8fbde090567
  • Upwork Job ID: 1643074169889533952
  • Last Price Increase: 2023-04-04
@kbecciv kbecciv added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Mar 28, 2023
@MelvinBot
Copy link

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

@MelvinBot
Copy link

MelvinBot commented Mar 28, 2023

Bug0 Triage Checklist (Main S/O)

  • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
  • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
    • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
  • This bug is reproducible using the reproduction steps in the OP. S/O
    • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
    • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
  • This issue is filled out as thoroughly and clearly as possible
    • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
  • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

@melvin-bot melvin-bot bot added the Overdue label Mar 31, 2023
@MelvinBot
Copy link

@stephanieelliott Huh... This is 4 days overdue. Who can take care of this?

@stephanieelliott stephanieelliott added the External Added to denote the issue can be worked on by a contributor label Apr 4, 2023
@melvin-bot melvin-bot bot changed the title IPAD - Sign in - Unable to scroll to the footer in Sign in page [$1000] IPAD - Sign in - Unable to scroll to the footer in Sign in page Apr 4, 2023
@MelvinBot
Copy link

Job added to Upwork: https://www.upwork.com/jobs/~012487f8fbde090567

@MelvinBot
Copy link

Current assignee @stephanieelliott is eligible for the External assigner, not assigning anyone new.

@MelvinBot
Copy link

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

@stephanieelliott
Copy link
Contributor

Was able to repro

@melvin-bot melvin-bot bot added Help Wanted Apply this label when an issue is open to proposals by contributors and removed Overdue labels Apr 4, 2023
@MelvinBot
Copy link

Triggered auto assignment to @alex-mechler (External), see https://stackoverflow.com/c/expensify/questions/7972 for more details.

@akinwale
Copy link
Contributor

akinwale commented Apr 4, 2023

Proposal

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

When viewing the sign in screen on iPad devices, a user is unable to scroll down to see the footer at the bottom of the right-hand side of the page.

What is the root cause of that problem?

It appears that the style for ScrollView component's contentContainerStyle is not allocating enough vertical space to allow for proper scrolling to the end of the container.
https://github.com/Expensify/App/blob/main/src/pages/signin/SignInPageLayout/index.js#L53

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

Changing the contentContainerStyle to [styles.flexGrow1] should fix the problem.

What alternative solutions did you explore? (Optional)

None.

@MelvinBot
Copy link

📣 @akinwale! 📣

Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork.
Please follow these steps:

  1. Get the email address used to login to your Expensify account. If you don't already have an Expensify account, create one here. If you have multiple accounts (e.g. one for testing), please use your main account email.
  2. Get the link to your Upwork profile. It's necessary because we only pay via Upwork. You can access it by logging in, and then clicking on your name. It'll look like this. If you don't already have an account, sign up for one here.
  3. Copy the format below and paste it in a comment on this issue. Replace the placeholder text with your actual details.

Screen Shot 2022-11-16 at 4 42 54 PM

Format:

Contributor details
Your Expensify account email: <REPLACE EMAIL HERE>
Upwork Profile Link: <REPLACE LINK HERE>

@akinwale
Copy link
Contributor

akinwale commented Apr 4, 2023

Contributor details
Your Expensify account email: akinwale@gmail.com
Upwork Profile Link: https://www.upwork.com/freelancers/~0131f1f7eb5b5af4cd

@MelvinBot
Copy link

✅ Contributor details stored successfully. Thank you for contributing to Expensify!

@hellohublot
Copy link
Contributor

hellohublot commented Apr 4, 2023

Proposal

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

IPAD - Sign in - Unable to scroll to the footer in Sign in page

What is the root cause of that problem?

When we set contentContainerStyle, because scrollView.contentSize.height = scrollView.height, it cannot be scrolled on ipad

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

We better removeScrollView.contentContainerStyle, this property makes ScrollView like a normal View

https://github.com/Expensify/App/blob/main/src/pages/signin/SignInPageLayout/index.js#L53

-   contentContainerStyle={[styles.flex1]}

What alternative solutions did you explore? (Optional)

Not Yet

@bhupindersharma2020
Copy link

bhupindersharma2020 commented Apr 4, 2023

Proposal

Hey, Greetings for the day.

I am a React Native developer with over 4+ years of professional experience.
About the Github issue: #16612

I have looked into the issue and ran the project from the production branch. Was able to replicate the issue above.
Have debugged, and found the solution, actually, we need to adjust (actually remove contentContainerStyle) in the SignUp Page UI of the ScrollView component.
Here I have linked the video with the issue fixed:
https://drive.google.com/file/d/1IX5ZgCl6mUwJHmGSjJGUWfrnaUFtsFz0/view?usp=sharing

Please review and let me know if you have any concerns or doubts.
Hoping to hear back from you.

Thanks and Regards
Bhupinder Sharma

@MelvinBot
Copy link

📣 @bhupindersharma2020! 📣

Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork.
Please follow these steps:

  1. Get the email address used to login to your Expensify account. If you don't already have an Expensify account, create one here. If you have multiple accounts (e.g. one for testing), please use your main account email.
  2. Get the link to your Upwork profile. It's necessary because we only pay via Upwork. You can access it by logging in, and then clicking on your name. It'll look like this. If you don't already have an account, sign up for one here.
  3. Copy the format below and paste it in a comment on this issue. Replace the placeholder text with your actual details.

Screen Shot 2022-11-16 at 4 42 54 PM

Format:

Contributor details
Your Expensify account email: <REPLACE EMAIL HERE>
Upwork Profile Link: <REPLACE LINK HERE>

@bhupindersharma2020
Copy link

Contributor details
Your Expensify account email: bhupindersharma.itwaves@gmail.com
Upwork Profile Link: https://www.upwork.com/freelancers/~013f34deab0f72f0be

@MelvinBot
Copy link

✅ Contributor details stored successfully. Thank you for contributing to Expensify!

@devanshujain95
Copy link

devanshujain95 commented Apr 4, 2023

Proposal

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

When viewing the sign in screen on iPad devices, users are unable to scroll down and also not able to see the footer and its options.

What is the root cause of that problem?

It appears that the style for ScrollView component present at SignInPageLayout component contentContainerStyle is not allocating enough vertical space to allow for proper scrolling to the end of the container. The reason behind this is when we set contentContainerStyle, scrollView.contentSize.height is equals to scrollView.height and hence it can't be scrolled.

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

Remove contentContainerStyle prop from the ScrollView component in SignInPageLayout.

What alternative solutions did you explore? (Optional)

We can also give flexGrow: 1 property instead of giving flex as 1. This should also make sure that our SignInPageLayout component gets enough space of ScrollView so as to get proper scrolling.

Screen.Recording.2023-04-04.at.2.09.57.PM.mov

@parasharrajat
Copy link
Member

@melvin-bot melvin-bot bot added the Overdue label Apr 6, 2023
@aimane-chnaif
Copy link
Contributor

@stephanieelliott @alex-mechler can you please confirm if this is worth fixing since it's iPad/android tablet issue?
Btw, while reviewing code in signin page, I found significant issue in scrollview / keyboard handling, which introduced this bug.

@melvin-bot melvin-bot bot removed the Overdue label Apr 6, 2023
@parasharrajat
Copy link
Member

We earlier decided to not focus on IPAD issues and It seems that this is still the case. Slack talks the same.

@alex-mechler
Copy link
Contributor

IPad is not an officially supported platform yet. Going to close this out.

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. Daily KSv2 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
Projects
None yet
Development

No branches or pull requests

10 participants