-
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 for payment 2024-10-17] [$500] Chat - Edit composer is focused even if emoji picker is open #27612
Comments
Job added to Upwork: https://www.upwork.com/jobs/~016c6dc7febe9f77e8 |
Triggered auto assignment to @johncschuster ( |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to @sakluger ( |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @eVoloshchak ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Chat - Edit composer is focused even if emoji picker is open What is the root cause of that problem?In the code, when the emoji picker hides, it directly sets the composer to be focused without checking if the emoji picker is currently visible. App/src/pages/home/report/ReportActionItemMessageEdit.js Lines 411 to 414 in 76c1559
What changes do you think we should make in order to solve the problem?We need to add a check for Updated code:
Resultfixed.mp4 |
ProposalPlease re-state the problem that we are trying to solve in this issue.Report Edit Message composer remains focused when emoji picker remains open. What is the root cause of that problem?The issue stems from the fact that closing the emoji picker sets the isFocused state to true, this remains true when opening the emoji picker of another edit box. What changes do you think we should make in order to solve the problem?Set
|
📣 @tanerochris! 📣
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
ProposalPlease re-state the problem that we are trying to solve in this issue.When emoji picker is closed, text input is focused even if it should not focus. What is the root cause of that problem?EmojiPickerButton Component's onModalHide property sets focus without any condition in ReportActionItemMessageEdit Component, when emoji picker is closed. What changes do you think we should make in order to solve the problem?Instead of setting focus directly, we should use ReportActionComposeFocusManager. App/src/pages/home/report/ReportActionItemMessageEdit.js Lines 411 to 414 in c77814f
These lines will be changed with
New property 'onPress' will be added to EmojiPickerButton component. We will send a function for run on onPress.
Screencast for showing the bug is not just about changing emoji picker bug.mp4Resultresult.mp4 |
📣 @ilkeruyanik! 📣
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
I added a minor change to my proposal due to the another issue that has been highlighted by @ilkeruyanik but my solution is still different from other proposals. |
My proposal here #25892 (comment) can also solve this one. And I think it's the simplest one. There's no need to introduce new prop or use |
Sounds good! Let's bump this one to |
I think I'm supposed to be assigned here, right? @eVoloshchak |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.47-4 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2024-10-17. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
|
Payment Summary
BugZero Checklist (@johncschuster)
|
@johncschuster, should this be $500 or $250? The issue was originally $500 and I don't see any price changes, but that was set a long time ago |
Thanks for asking, @eVoloshchak! Let me chat with the team quickly about that. I'll be back shortly! |
Looking through our internal documentation, I believe we should keep this at $500 since that was the agreed-upon price, and we have not discussed altering it during the lifespan of this issue. (I updated this comment to reflect $500) |
Payment SummaryContributor+: @eVoloshchak due $500 via NewDot |
$500 approved for @eVoloshchak |
$500 approved for @s77rt |
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:
Expected Result:
Edit Composer should not be focused if emoji picker is displayed
Actual Result:
Edit Composer is focused if emoji picker is displayed
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.70-5
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
Monosnap.screencast.2023-09-16.12-41-08.mp4
Recording.35.2.mp4
Expensify/Expensify Issue URL:
Issue reported by: @Krishna2323)
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1694848738372809
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @johncschusterThe text was updated successfully, but these errors were encountered: