-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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 2023-08-24] [$1000] IOS - Chat - Focus is lost if user inserts emoji in edit mode using emoji picker #18001
Comments
Triggered auto assignment to @sophiepintoraetz ( |
Bug0 Triage Checklist (Main S/O)
|
Closing and adding to the tracking issue. |
This might also be solved by this #15992 |
Issue is reproducible in mWeb/Safari. Build 1.3.41.2 22542.mWeb.Lost.Focus.mp4 |
@mountiny, you referred to the same issue. Is it the correct link? |
@sophiepintoraetz Whoops! This issue is 2 days overdue. Let's get this updated quick! |
In theory, it could be the case because I changed the method of copying the reference we use for this purpose. However, I did have a test for this in QA
|
Hey, I'm from the SWM. I am going to investigate it. I've quickly checked and the issue occurred before migration to the functional component as well (iOS). Video before migrationbefore-migration.mp4 |
After short investigation I found out how it is done in the In this component, we call // Keyboard is not opened after Emoji Picker is closed
// SetTimeout is used as a workaround
// https://github.com/react-native-modal/react-native-modal/issues/114
// We carefully choose a delay. 100ms is found enough for keyboard to open.
setTimeout(() => this.textInput.focus(), 100); Using the same workaround in the Videofix1.mp4Should I create a PR for this? |
@kosmydel Sounds great, can you also confirm if this works if you open multiple edit messages? |
Job added to Upwork: https://www.upwork.com/jobs/~01186303df75f9ce05 |
Coming from https://expensify.slack.com/archives/C02NK2DQWUX/p1689854072758689?thread_ts=1689852445.808529&cid=C02NK2DQWUX, I'd like to take this as C+ |
📣 @situchan You have been assigned to this job! |
Hi, actually, the
Finally, we can wrap them in a |
@ntdiary your issue doesn't happen on main composer? |
Here, we're cloning main composer behavior into edit composer as edit composer is also one of main components in the app and we're trying to make it much better as a quick solution. |
They happened on main composer and edit composer. |
PR actively under review. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.54-13 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 2023-08-24. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
For reference, here are some details about the assignees on this issue: As a reminder, here are the bonuses/penalties that should be applied for any External 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:
|
Payouts due: Issue Reporter: $250 NA Eligible for 50% #urgency bonus? @mountiny - I don't think this one is eligible for a bonus, right? @kosmydel was assigned 20 Jul and the PR was merged on 11 Aug |
No PR caused regression. This was default iOS behavior in RN modal. |
Yeah no bonus here I imagine |
Payments done! |
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:
Emoji inserted and focus is in composer
Actual Result:
Emoji inserted and focus is lost
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.5.4
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
Bug6032214_iPad-emoji-insert-focus-lost.mp4
Bug6032214_iOS-emoji-insert-focus-lost.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: