-
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 on July 7] Web - Chat - Message not deleted when selecting delete option from the context menu #3767
Comments
Triggered auto assignment to @NikkiWines ( |
I'm not able to reproduce this on web on Screen.Recording.2021-06-25.at.4.51.15.PM.mov |
@NikkiWines I thought the same and noticed this is only reproducible when using the right click menu. The hover menu works as expected. |
@isagoico nice catch! I didn't read those reproduction steps closely enough it seems. Can confirm there is an issue when using the right-click menu Screen.Recording.2021-06-28.at.10.37.16.AM.movAdding the |
Triggered auto assignment to @Jag96 ( |
ProposalSo this one is interesting. Actually it is caused by one of my changes here #3515 but those changes are needed. As ReportActionContextMenu is now closed on clicking outside, so it cause the delete Modal to be closed immediately if click anywhere. Though it seems that we are clicking on the button but before that event is processed, the Wrapping ReportActionContextMenu will be closed. Due to the reason that ConfirmModal is contained in ReportActionContextMenu, it results in both being closed. And no delete action will be fired. To fix this we too options.
|
So just to clarify my understanding of this issue:
And your proposals for potential solutions are:
Can you confirm that, @parasharrajat ? If so, I agree that |
Yeah, I confirm @roryabraham. We should lift up the ConfirmModal to the parent component and maybe we can make it singleton for all actions. |
Cool, I don't think this needs to be a deploy blocker, but @parasharrajat do you have the bandwidth to work on this? |
Yup, I have partial solution ready. |
Posted to Upwork and invited @parasharrajat to the job! |
Reopening to keep track of payment date |
Paid! |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Upwork link: https://www.upwork.com/jobs/~01ea79ee49be020d89
Action Performed:
Expected Result:
The comment is deleted when you click tab "Delete comment"
Actual Result:
The delete function does not work and message not deleted.
Workaround:
Unknown
Platform:
Where is this issue occurring?
Web ✔️
iOS
Android
Desktop App
Mobile Web
Version Number: 1.0.74-0
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
Bug5128072_Gravar__12.mp4
Expensify/Expensify Issue URL:
View all open jobs on Upwork
The text was updated successfully, but these errors were encountered: