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] Chat - Keyboard is hidden when editing the message and selecting the emoji #18448

Closed
2 of 6 tasks
kbecciv opened this issue May 4, 2023 · 20 comments
Closed
2 of 6 tasks
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 May 4, 2023

Closed as dupe of #15992 (comment)

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. Launch the app
  2. Log in with any account
  3. Go to any chat
  4. Type and send any message
  5. Open context menu (long-hold on the message)
  6. Select Edit option
  7. Tap on any emoji

Expected Result:

After selecting an emoji (or dismissing the emoji menu), the keyboard should reappear so that you can continue editing the message

Actual Result:

After selecting an emoji (or dismissing the emoji menu), the keyboard is hidden and you have to tap back into the compose field to edit the message

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

Version Number: 1.3.10.2

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

Screen_Recording_20230504_163106_New.Expensify.1.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/~01c9bdec3cd07f91a5
  • Upwork Job ID: 1654576988630274048
  • Last Price Increase: 2023-05-05
@kbecciv kbecciv added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels May 4, 2023
@melvin-bot
Copy link

melvin-bot bot commented May 4, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented May 4, 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

@laurenreidexpensify
Copy link
Contributor

@kbecciv what does "Hold the finger and open content menu" mean?

@laurenreidexpensify laurenreidexpensify removed their assignment May 5, 2023
@laurenreidexpensify laurenreidexpensify added Bug Something is broken. Auto assigns a BugZero manager. and removed Bug Something is broken. Auto assigns a BugZero manager. labels May 5, 2023
@melvin-bot
Copy link

melvin-bot bot commented May 5, 2023

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

@melvin-bot

This comment was marked as duplicate.

@laurenreidexpensify laurenreidexpensify added Bug Something is broken. Auto assigns a BugZero manager. and removed Bug Something is broken. Auto assigns a BugZero manager. labels May 5, 2023
@melvin-bot
Copy link

melvin-bot bot commented May 5, 2023

Current assignee @zanyrenney is eligible for the Bug assigner, not assigning anyone new.

@melvin-bot

This comment was marked as duplicate.

@laurenreidexpensify laurenreidexpensify added Bug Something is broken. Auto assigns a BugZero manager. and removed Bug Something is broken. Auto assigns a BugZero manager. labels May 5, 2023
@melvin-bot
Copy link

melvin-bot bot commented May 5, 2023

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

@melvin-bot

This comment was marked as duplicate.

@laurenreidexpensify
Copy link
Contributor

@conorpendergrast - am unsure on the repro steps here as I can't repro and don't understand the phrase being use, and I am OOO on mon as are you (why did you, me an @zanyrenney all get assigned this at Fri 5:30pm when all our calendars say 0% Monday I do not know) and then afk with Accountex stuff from Tues - Thurs, so to move this one along when we get confirmation on what this repro step means an reassigning.

@conorpendergrast
Copy link
Contributor

@laurenreidexpensify Ah, it's the context menu - long press on the sent message! I have it replicated now

@conorpendergrast conorpendergrast added the External Added to denote the issue can be worked on by a contributor label May 5, 2023
@melvin-bot melvin-bot bot changed the title Chat - Keyboard is hidden when editing the message and selecting the emoji [$1000] Chat - Keyboard is hidden when editing the message and selecting the emoji May 5, 2023
@melvin-bot
Copy link

melvin-bot bot commented May 5, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented May 5, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented May 5, 2023

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

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label May 5, 2023
@melvin-bot
Copy link

melvin-bot bot commented May 5, 2023

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

@akinwale
Copy link
Contributor

akinwale commented May 5, 2023

Proposal

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

When editing a message in the report, after selecting an emoji from the emoji menu, the edit input does not regain focus.

What is the root cause of that problem?

The composer does not regain focus because the emoji menu still has focus during its hide animation. Calling the focus() method while this animation is playing will not have any effect.

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

Implement a delayed focus() method similar to the one in ReportActionsCompose.

https://github.com/Expensify/App/blob/main/src/pages/home/report/ReportActionCompose.js#L544-L567

Call this focus method with the delay parameter astrue in the onModalHide event handler for EmojiPickerButton in the ReportActionItemMessageEdit component.

https://github.com/Expensify/App/blob/main/src/pages/home/report/ReportActionItemMessageEdit.js#L332

onModalHide={() => this.focus(true)}

Alternatively, just use a setTimeout method in the onModalHide handler:

onModalHide={() => InteractionManager.runAfterInteractions(() => setTimeout(() => this.textInput.focus(), 100))}

What alternative solutions did you explore? (Optional)

None.

@melvin-bot melvin-bot bot added the Overdue label May 8, 2023
@parasharrajat
Copy link
Member

I think we are solving this problem at the root in some issue. Can't find it.

@melvin-bot melvin-bot bot removed the Overdue label May 8, 2023
@rojiphil
Copy link
Contributor

rojiphil commented May 8, 2023

@parasharrajat I think, you are referring to this tracking issue

@parasharrajat
Copy link
Member

Yes, thanks. We can close this as it is a duplicate of one the mentioned issues on the tracking issue.

@conorpendergrast
Copy link
Contributor

Sounds good to me. @marcochavezf if you disagree, please reopen!

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

8 participants