-
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-07-14] [$1000] The tooltip disappears when the "Copy to clipboard" option is clicked multiple times. #19693
Comments
Triggered auto assignment to @lschurr ( |
Bug0 Triage Checklist (Main S/O)
|
I was able to reproduce by clicking on the edge of the "copy to clipboard" option. |
Job added to Upwork: https://www.upwork.com/jobs/~01d9c2c343f15e297b |
Current assignee @lschurr is eligible for the External assigner, not assigning anyone new. |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @fedirjh ( |
Triggered auto assignment to @robertjchen ( |
@lschurr Is it reproducible in production or staging ? |
I reproduced on staging @fedirjh - are you able to reproduce? |
I am unable to replicate on staging , I think the reporter is testing on windows system Edit 1: I am able to reproduce on production. |
//[Updated] ProposalPlease re-state the problem that we are trying to solve in this issue.While the user hovers over the context icons, and repeatedly clicks on them on the edge of the hover area causing the disappearance of the tooltip. I also, found that the tooltip will not show if the user immediately clicks on any icons like "Copy to clipboard" or "Copy URL" etc before showing the tooltip, and not moving the mouse. This issue can be seen every icons which has tooltips, including the Pin/Unpin. Copy to clipboard, Copy URL etc. What is the root cause of that problem?If the user clicks on any icon quickly before tooltip animation is completed, the What changes do you think we should make in order to solve the problem?On
To avoid any impacts of other press event listeners, we must need to call the child prop
What alternative solutions did you explore? (Optional)edit the below So that, even the |
My ProposalThe root causeThe root cause is a delay of 500ms in the animation tooltip. Like MrJtil identify if the user clicks on any icon quickly before this animation is completed, the tooltips will be disappear. Possible solutions:Easier Solution
Animated.timing(this.animation, {
toValue: 1,
duration: 140,
delay: 0,
useNativeDriver: false,
}).start(); More complex solution
The animation will be like this : Animated.timing(this.animation, {
toValue: 1,
duration: 140,
delay: this.props.delay,
useNativeDriver: false,
}).start(); EvidenceI test both solutions and they solve the problem. Screencast.2023-05-27.13.06.53.mp4Obs: Important to know, that this is a preview solution, this state control flow can be optimize in the final solution. Contributor detailsYour Expensify account email: gfrmoretti@gmail.com |
📣 @gfrmoretti! 📣
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
Thanks for the proposals so far! Though, I wonder why we had the |
@MrJithil The root cause doesn’t looks accurate. This issue looks to affects only this tooltip (copy to clipboard) , If the animation is the root cause , shouldn’t we have all tooltips affected ? I feel this is related to some focus trap. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.37-7 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-07-14. 🎊 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.
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:
|
@fedirjh @huzaifa-99 @usmantariq96 - please apply for the job here: https://www.upwork.com/jobs/~01782c71ac1d47755b |
@fedirjh do we need a regression test for this one? |
@ischurr can you please share offer via direct message in Upwork, as I'm not able to access the link. |
Can you share your Upwork profile here @usmantariq96? |
https://www.upwork.com/freelancers/~0162e9ec0b876900fb Please find above @lschurr |
Ah, yeah I think that's the problem. Can you log out and try the link again? https://www.upwork.com/jobs/~01782c71ac1d47755b |
sure, giving it a try. |
still the same @lschurr |
Alright, I've invited @fedirjh @huzaifa-99 @usmantariq96 to the job - are you able to accept in Upwork? |
@lschurr Thank you, Accepted. |
@Ischurr thanks accepted two offers shared one directly I think and second from direct message.. Kindly mature one of them if both is accepted as shared. 😊 |
Great! Offers sent. |
Payments made to @usmantariq96 and @fedirjh. Just need @huzaifa-99 to accept the offer. Additionally, @fedirjh - do we need a regression test for this? Could you work on the checklist here so that we can close this out? #19693 (comment) |
@Ischurr thanks. |
BugZero Checklist
|
Accepted the offer @lschurr, also there is a $500 bouns, right? |
Yep @huzaifa-99! That will be issued with the payment. |
All payments issued. Closing! |
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:
1.Go to any chat.
2. Hover over any message to display the popup.
3. Click on the "Copy to clipboard" option.
I. On the first click, click in the center to ensure that the tooltip is visible.
II. On the second click, click on the edge and observe that the tooltip remains hidden until the cursor is moved to other options.
Expected Result:
The tooltip should appear for the "Copy to clipboard" option, irrespective of placement of click.
Actual Result:
The tooltip for "Copy to clipboard" does not appear when clicked multiple times, especially after clicking on the edge.
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.17-2
Reproducible in staging?: needs reproduction
Reproducible in production?: needs reproduction
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
Bug.3.mp4
Expensify/Expensify Issue URL:
Issue reported by: @usmantariq96
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1684917973805069
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: