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

[hold for payment 28 April] IOS - Secondary log in - "Done" button is not present to close keyboard #2371

Closed
isagoico opened this issue Apr 13, 2021 · 22 comments · Fixed by #2431
Assignees
Labels
Engineering External Added to denote the issue can be worked on by a contributor Weekly KSv2

Comments

@isagoico
Copy link

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


Expected Result:

User should be able to see "send verification" button
user should be able to hide keyboard

Actual Result:

User is unable to see "send verification" button
User is unable to hide keyboard

Action Performed:

  1. Open app
  2. Login too account without secondary login
  3. Navigate to profile settings
  4. Click + to add phone number
  5. enter valid phone
  6. Start to enter password
  7. try to close keyboard
  8. After entering valid password try to click send verification button

Workaround:

Yes, user has to close the keyboard by tapping outside the field.

Platform:

Where is this issue occurring?

Web
iOS ✔️
Android
Desktop App
Mobile Web

Version Number: 1.0.19-0

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

Notes/Photos/Videos:
Video

Expensify/Expensify Issue URL:

@isagoico isagoico added the AutoAssignerTriage Auto assign issues for triage to an available triage team member label Apr 13, 2021
@MelvinBot
Copy link

Triggered auto assignment to @davidcardoza (AutoAssignerTriage), see https://stackoverflow.com/c/expensify/questions/4749 for more details.

@MelvinBot MelvinBot removed the AutoAssignerTriage Auto assign issues for triage to an available triage team member label Apr 13, 2021
@davidcardoza
Copy link
Contributor

Tested and ran into the same issue. Removing assignment and putting in the engineering queue.

@davidcardoza davidcardoza removed their assignment Apr 13, 2021
@MelvinBot
Copy link

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

@davidcardoza davidcardoza added the FirstPick Engineering only, please! Only add when there is an identified code solution. label Apr 13, 2021
@alex-mechler
Copy link
Contributor

Looks like a good one for a contributor to take 👍

@alex-mechler alex-mechler added External Added to denote the issue can be worked on by a contributor and removed FirstPick Engineering only, please! Only add when there is an identified code solution. labels Apr 14, 2021
@MelvinBot
Copy link

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

@MelvinBot
Copy link

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

@SofiedeVreese
Copy link
Contributor

SofiedeVreese commented Apr 15, 2021

Going to remove the Exported label for now (and removing @Beamanator 's assignment) to clarify the following:

@alex-mechler is this similar to this issue? It feels similar?

cc @marcaaron

@marcaaron
Copy link
Contributor

Looks unrelated to me @SofiedeVreese

@SofiedeVreese
Copy link
Contributor

Ok thanks for confirming @marcaaron I'll push this out to Upwork now.

@MelvinBot
Copy link

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

@SofiedeVreese
Copy link
Contributor

Readding Exported Label.

Upwork job posting: https://www.upwork.com/jobs/~014f5a3f656dd883ff

@rafidaky
Copy link
Contributor

Hey, i have a proposal for this issue. I think the best way to handle this is to wrap the components in a KeyboardAvoidingView and enable it just for ios. So this way Send Validation button will be on top of the keyboard & accessible.

@parasharrajat
Copy link
Member

This issue can easily be fixed by passing the returnKeyType as Done to TextInput on the PasswordPage.
https://github.com/Expensify/Expensify.cash/blob/a4aa60ad2b220e2a1ecf37c5e2768733dc82f149/src/pages/settings/PasswordPage.js#L80-L89

@marcaaron
Copy link
Contributor

Not sure that's correct @parasharrajat. The green button is hidden behind the keyboard when it should be floating above the keyboard?

@parasharrajat
Copy link
Member

Oh. I think the issue description is misleading. Though issue also says to add this.

@roryabraham
Copy link
Contributor

@rafidaky Could you explain your proposal in a bit more detail?

@rafidaky
Copy link
Contributor

https://github.com/Expensify/Expensify.cash/blob/011c66af622349d115fc6c1c8d0c187fe197b422/src/pages/settings/AddSecondaryLoginPage.js#L98
I'm suggesting we wrap everything in this ScreenWrapper component in a KeyboardAvoidingView so there won't be a need for the Done button and screen will look like this when password is focused:
Screen Shot 2021-04-16 at 12 21 14 AM

@roryabraham
Copy link
Contributor

Okay @rafidaky, your proposal looks good. Feel free to submit a pull request.

@SofiedeVreese
Copy link
Contributor

SofiedeVreese commented Apr 15, 2021

Above contributor has been hired!

@roryabraham roryabraham added Weekly KSv2 and removed Daily KSv2 labels Apr 16, 2021
rafidaky added a commit to rafidaky/Expensify.cash that referenced this issue Apr 16, 2021
tgolen added a commit that referenced this issue Apr 21, 2021
Done button is not present to close keyboard #2371
@SofiedeVreese
Copy link
Contributor

PR is merged. Payment due on 28 April assuming no regressions.

@SofiedeVreese SofiedeVreese reopened this Apr 21, 2021
@SofiedeVreese SofiedeVreese changed the title IOS - Secondary log in - "Done" button is not present to close keyboard [hold for payment 28 April] IOS - Secondary log in - "Done" button is not present to close keyboard Apr 21, 2021
@SofiedeVreese
Copy link
Contributor

Checked with @roryabraham but no regressions so looks good to pay out.

@SofiedeVreese
Copy link
Contributor

Contributor has been paid, the contract has been completed, and the Upwork post has been closed.

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

Successfully merging a pull request may close this issue.

10 participants