-
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-29] [$250] Chat - When emoji picker is opened, right-clicking on message opens and closes context menu #50314
Comments
Triggered auto assignment to @RachCHopkins ( |
@RachCHopkins FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors |
ProposalPlease re-state the problem that we are trying to solve in this issue.When emoji picker is opened, right-clicking on message opens and closes context menu. What is the root cause of that problem?We display
What changes do you think we should make in order to solve the problem?
What alternative solutions did you explore? (Optional)Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Right clicking the message when an emoji picker is opened will close the context menu again. What is the root cause of that problem?When we right click on a message while the emoji picker is open, it will close the emoji picker before open the context menu. App/src/components/PopoverWithoutOverlay/index.tsx Lines 52 to 56 in 6d8e739
App/src/components/PopoverProvider/index.tsx Lines 105 to 109 in 6d8e739
When the emoji picker hide, it will call the popover context App/src/components/PopoverWithoutOverlay/index.tsx Lines 58 to 62 in 6d8e739
At this point, the anchor ref is null. It's important to pass the anchor ref to ignore the close call if the active popover anchor ref (context menu anchor ref) is different from the passed anchor ref (emoji picker anchor ref). App/src/components/PopoverProvider/index.tsx Lines 25 to 30 in 6d8e739
But because the emoji picker anchor ref is null, the logic is passed and The anchor ref is null because we set it to null when closing the emoji picker. App/src/components/EmojiPicker/EmojiPicker.tsx Lines 121 to 123 in 7981265
However, the real issue here is that, the anchor ref shouldn't be null at all. It should be a ref object, App/src/components/EmojiPicker/EmojiPicker.tsx Lines 52 to 59 in 7981265
What changes do you think we should make in order to solve the problem?We need to revert the
|
Yes, can replicate this. |
Job added to Upwork: https://www.upwork.com/jobs/~021843403179458469285 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @dukenv0307 ( |
@bernhardoj's proposal LGTM and tests well 🎀👀🎀 C+ reviewed |
Triggered auto assignment to @stitesExpensify, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@RachCHopkins, @stitesExpensify, @dukenv0307 Whoops! This issue is 2 days overdue. Let's get this updated quick! |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@stitesExpensify can you take a look at this issue? Thanks |
@RachCHopkins, @stitesExpensify, @dukenv0307 6 days overdue. This is scarier than being forced to listen to Vogon poetry! |
Waiting for @stitesExpensify's response |
Stites has been on leave for the long weekend in the US. He should be back tomorrow! |
📣 @dukenv0307 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
PR is ready cc: @dukenv0307 |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.51-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-29. 🎊 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:
|
BugZero Checklist:
Regression test:
Do we 👍 or 👎 |
Payment Summary: Contributor: @bernhardoj to be paid $250 via Newdot manual request |
Contributor has been paid, the contract has been completed, and the Upwork post has been closed. |
@RachCHopkins @stitesExpensify Be sure to fill out the Contact List! |
Not sure about this step @stitesExpensify you probably have more contextual info to fill in that form - do you mind? |
Requested in ND. |
$250 approved for @bernhardoj |
@bernhardoj and @dukenv0307 are already in the contact list, we can skip that @RachCHopkins |
@RachCHopkins @stitesExpensify 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!
Version Number: 9.0.45-2
Reproducible in staging?: Y
Reproducible in production?: Y
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
Context menu will open.
Actual Result:
Context menu opens then closes.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6626316_1728236236742.20241007_013425.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @stitesExpensifyThe text was updated successfully, but these errors were encountered: