-
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
Chat - Focus lost after choosing emoji from EmojPicker #33984
Comments
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
Triggered auto assignment to @stitesExpensify ( |
Production: Recording.873.mp4 |
ProposalPlease re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?
onSecondaryInteraction={(e) => {
showPopover(e);
+ ComposerFocusManager.willContextMenuOpen = true
+ if (!textInput || EmojiPickerAction.isEmojiPickerVisible() || ComposerFocusManager.isContextMenuAction) {
+ ComposerFocusManager.isContextMenuAction = false
return;
} What alternative solutions did you explore? (Optional)
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Composer isn't focus after selecting an emoji What is the root cause of that problem?On selection of emoji we are hiding the emoji picker but do not execute the App/src/pages/home/report/ReportActionCompose/ComposerWithSuggestions/ComposerWithSuggestions.js Lines 414 to 422 in 50f2010
App/src/components/EmojiPicker/EmojiPicker.js Lines 109 to 120 in 50f2010
What changes do you think we should make in order to solve the problem?Use Popover context in the EmojiPicker for close method and call it inside App/src/components/EmojiPicker/EmojiPicker.js Line 116 in 50f2010
|
Offending PR is #33483 only bt currently emoji picker by mistake in other PR is opening as |
still repro on build 1.4.22-2 Recording.894.mp4 |
Situ is handling as C+ |
I agree with #32970 (comment). |
Yeah I agree, this is a worse bug than the one the PR intended to fix. I'll just get a revert up for that |
Triggered auto assignment to @sophiepintoraetz ( |
This blocker was fixed in the revert - adding the bug label so we can get payment issued |
@thienlnam - can you confirm it's just $500 to @situchan? |
Yes that is correct! |
@thienlnam I proposed the proposal that point out the RCA and solution to revert the PR here, can you help check |
It doesn't look like your comment mentioned the PR that caused the regression - also since we're just reverting code here we're going to have the problem resolved in that PR |
@thienlnam My proposal have 2 sections:
This is revert the regression PR And the rest is the solution that will fix the issue that the regression PR try to fix |
Yeah but I don't see the regression PR linked in your comment anywhere. Additionally, in these scenarios where we revert a recent PR we don't issue payment for just pointing out where it was caused. If we had implemented your other solution that would be a different situation, but it sounds like we decided to just go with a revert here due to other reasons as well listed here |
In the comment you mentioned, the author mentioned my proposal "More info is explained on the #33984 (comment) there." Can you help check |
@DylanDylann as you're not assigned, I don't think you're eligible even if it's not straight revert. |
Hey @DylanDylann - we have plenty of opportunities to jump in if you're looking for monetary compensation but as Jack has said, this is mainly a revert - we have not implemented code. If we implement something, I'd keep an eye out on #32970 (comment). @situchan - offer sent! |
Thanks @sophiepintoraetz , @thienlnam. |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 1.4.22-0
Reproducible in staging?: Y
Reproducible in production?: N
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
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:
Expected Result:
Focus presents in the composer
Actual Result:
Focus lost in composer
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6332575_1704403879275.bandicam_2024-01-04_23-09-06-274.1.mp4
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: