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

iOS - Keyboard opens up after tapping invite the member #7675

Closed
kavimuru opened this issue Feb 10, 2022 · 24 comments
Closed

iOS - Keyboard opens up after tapping invite the member #7675

kavimuru opened this issue Feb 10, 2022 · 24 comments
Assignees
Labels
Engineering External Added to denote the issue can be worked on by a contributor Improvement Item broken or needs improvement. Reviewing Has a PR in review Weekly KSv2

Comments

@kavimuru
Copy link

kavimuru commented Feb 10, 2022

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 and log in with any account
  2. Go to Setting
  3. Tap on any Workspace you have in your account
  4. Go to Manage Members
  5. Tap Invite

Expected Result:

Keyboard should be dismissed after tap invite the member

Actual Result:

Keyboard isn’t dismissed after tap invite the member

Workaround:

Unknown

Platform:

Where is this issue occurring?

  • iOS

Version Number: v1.1.38.1
Reproducible in staging?: Y
Reproducible in production?: Y
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
Bug5447523_Image_from_iOS__4_

Bug5447523_Image_from_iOS__8_.mp4
Screen_Recording_20220210-104815_New.Expensify.mp4

Note : Android and mweb keyboard does not open. So not sure which is correct behavior

Expensify/Expensify Issue URL:
Issue reported by: Applause
Slack conversation:

View all open jobs on GitHub

view this job

@MelvinBot
Copy link

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

@bondydaa
Copy link
Contributor

Hmm i'm not sure which is the proper one here either - it looks like we give focus to the input to invite someone so that's most likely why the keyboard is showing for iOS so I'd guess that might actually be the right behavior and that mobile web and android are broken.

I'll cross post this to our product channel to ask which is the expected behavior.

@bondydaa
Copy link
Contributor

asked here https://expensify.slack.com/archives/C03U7DCU4/p1644518202678349 (internal slack channel)

@bondydaa
Copy link
Contributor

waiting for others to chime in on the thead, i'm going to move this to a weekly for now while we wait for a consensus. I'm offline the next day anyways so i'll check back in next week and get this prioritized.

@bondydaa
Copy link
Contributor

Alrighty after discussion / lack of push back in slack we decided that we should do the following:

  1. On the Manage Members page
  2. When Invite is clicked
  3. On the next page: don't focus the input to enter an email and don't show the keyboard

So I agree that Android and mWeb then are correct and iOS seems to be wrong.

This should be fine for a contributor to work on / fix so adding the label.

@bondydaa bondydaa removed their assignment Feb 15, 2022
@bondydaa bondydaa added External Added to denote the issue can be worked on by a contributor Improvement Item broken or needs improvement. labels Feb 15, 2022
@MelvinBot
Copy link

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

@MelvinBot MelvinBot added Daily KSv2 and removed Weekly KSv2 labels Feb 15, 2022
@parasharrajat
Copy link
Member

parasharrajat commented Feb 15, 2022

Proposal

  1. For this, we just need to remove the autofocus from the OptionSelector component.

But this is a generic component and focus could be needed for other parts of the app, so we add another prop autofocus (default: true) to OptionSelector. When autofocus is false we skip this logic

componentDidMount() {
if (this.props.shouldDelayFocus) {
setTimeout(() => this.textInput.focus(), CONST.ANIMATED_TRANSITION);
} else {
this.textInput.focus();
}
}
.

then we set this prop to false here

@jboniface
Copy link

posted: view this job

@botify botify removed the Daily KSv2 label Feb 15, 2022
@MelvinBot MelvinBot added the Weekly KSv2 label Feb 15, 2022
@MelvinBot
Copy link

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

@MelvinBot MelvinBot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Feb 15, 2022
@MelvinBot
Copy link

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

@rushatgabhane
Copy link
Member

@chiragsalian unassigning myself because Rajat doesn't need a C+ review

@rushatgabhane rushatgabhane removed their assignment Feb 15, 2022
@chiragsalian
Copy link
Contributor

Proposal LGTM, feel free to create the PR @parasharrajat 🙂

@MelvinBot MelvinBot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Feb 15, 2022
@MelvinBot
Copy link

📣 @parasharrajat You have been assigned to this job by @chiragsalian!
Please apply to this job in Upwork 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 📖

@jboniface
Copy link

looks like this is in progress

@MelvinBot MelvinBot removed the Overdue label Feb 24, 2022
@parasharrajat
Copy link
Member

Updating the PR with screenshots shortly. Its ready.

@jboniface
Copy link

merged but not deployed

@MelvinBot MelvinBot removed the Overdue label Mar 4, 2022
@mvtglobally
Copy link

Issue not reproducible during KI retests. (First week)

@jboniface
Copy link

on staging

@MelvinBot MelvinBot removed the Overdue label Mar 14, 2022
@jboniface jboniface added the Reviewing Has a PR in review label Mar 14, 2022
@mvtglobally
Copy link

Issue not reproducible during KI retests. (Second week)

@jboniface
Copy link

@parasharrajat hey it looks like we both lost track of this (for me it was because the title never changed to let me know to pay it) -- I had to file a new job because the old one expired, can you apply here?

@parasharrajat
Copy link
Member

@jboniface Yeah, lol. Applied now.

@jboniface
Copy link

offer sent

@parasharrajat
Copy link
Member

Accepted it.

@jboniface
Copy link

paid!

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 Improvement Item broken or needs improvement. Reviewing Has a PR in review Weekly KSv2
Projects
None yet
Development

No branches or pull requests

9 participants