-
Notifications
You must be signed in to change notification settings - Fork 297
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
Fix tooltip view double trigger (Follow Up). #7614
Conversation
Size Change: -190 B (0%) Total Size: 1.4 MB
ℹ️ View Unchanged
|
Build files for a4afa5d have been deleted. |
a5e4cf8
to
a4afa5d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @zutigrm. The code is working, even though it feels kind of odd and the comment doesn't clearly explain it. To be fair, I am not fully sure why the whole component is remounting instead of re-rendering. Anyways, as long as it works, right?
I've based the PR off and targeted main
as it's already a release ticket and the main
branch was split off yesterday. Something to be mindful of in the future.
The E2E fails are unrelated.
LGTM 🎉
// appears, old component will unmount and new componnet will mount, | ||
// with tooltip visible equal to true, so here we ensure event is sent only once when that occurs, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Watch out for the typos :) We should fix these, and probably try to improve the clarity of overall comment in a subsequent PR...
// appears, old component will unmount and new componnet will mount, | |
// with tooltip visible equal to true, so here we ensure event is sent only once when that occurs, | |
// appears, old component will unmount and new component will mount, | |
// with tooltip visible equal to true, so here we ensure event is sent only once when that occurs. |
Summary
Addresses issue:
Relevant technical choices
Addressing the comment detected in QA by @mohitwp
PR Author Checklist
Do not alter or remove anything below. The following sections will be managed by moderators only.
Code Reviewer Checklist
Merge Reviewer Checklist