-
Notifications
You must be signed in to change notification settings - Fork 3k
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 #15992][$1000] mWeb/Chrome - Chat - Android - keyboard opens when tapping outside of the edited message #16596
Comments
Triggered auto assignment to @Christinadobrzyn ( |
Bug0 Triage Checklist (Main S/O)
|
Hey @kbecciv I can't seem to test on Android/Chrome using Browserstack but this doesn't happen on any other platforms so can you make sure this is still happening? |
@kbecciv Whoops! This issue is 2 days overdue. Let's get this updated quick! |
pinging in QA for some help testing these - https://expensify.slack.com/archives/C9YU7BX5M/p1680624339701339 |
@Christinadobrzyn Able to reproduce with latest build 1.2.94.0 Screen.Recording.20230404.193617.Chrome.mp4 |
Thank you @kbecciv I think this should get fixed, going to add External label. |
Job added to Upwork: https://www.upwork.com/jobs/~015de52e231d8c70fe |
Current assignee @Christinadobrzyn is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @fedirjh ( |
Triggered auto assignment to @chiragsalian ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.When edit composer is focused, and you close the keyboard, tapping anywhere outside will reopen the keyboard. What is the root cause of that problem?The problem is that the main composer receives focus when the edit composer is blurred on web, causing the keyboard to reopen. The order of operations is as follows: The edit composer hides the main composer when it receives focus:
When the edit composer is subsequently blurred, such as pressing another item like in this issue, it then toggles the main composer back into view:
The main composer is then conditionally rendered: App/src/pages/home/report/ReportFooter.js Line 89 in 17ddaa2
However the problem is that the main composer has What changes do you think we should make in order to solve the problem?The behavior of I propose that we decide on the definitive behavior and apply it to both platforms. As a result of this issue, I suggest we go with not focusing the main composer when the edit composer is blurred. It should be re-displayed, but not re-focused. To achieve this we have a couple options:
What alternative solutions did you explore? (Optional) |
This does not seem like a bug but the expected behavior. |
@parasharrajat The problem seems to be that the behavior is inconsistent. On web it focuses the composer after editing a message and on native it doesn't. We should probably pick one behavior and apply it to both platforms. |
IMO, This change was made recently and I don't think we have to change it. Let's get more context for this before we move forward. And, I think there are similar issues present on GH either opened or closed state. We should check those before reviewing this one. |
@parasharrajat Thank you for your feedback . I will review this issue shortly. |
yeah monthly is fine for this since its on hold |
Still on hold for #15992 |
Still on hold for #15992 |
Still on hold for #15992. |
this is closed - #15992 - so I'll test this tomorrow and see if we need proposals. |
I think this is resolved - going to ask QA to test again - https://expensify.slack.com/archives/C9YU7BX5M/p1712049800250629 |
@Christinadobrzyn Bug is fixed. Screenrecorder-2024-04-02-14-17-37-631.mp4 |
Yay! Thank you @kavimuru! Closing |
@chiragsalian @Christinadobrzyn Be sure to fill out the Contact List! |
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:
Expected Result:
Nothing should happen.
Actual Result:
If you edit a message, close the keyboard and click outside
this message, the keyboard reopens.
Workaround:
Unkonown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.2.94.0
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
Bug5995109_Screen_Recording_20230328_005926_Chrome.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: