-
Notifications
You must be signed in to change notification settings - Fork 4.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
Fix Tooltip overwritten prop #12594
Fix Tooltip overwritten prop #12594
Conversation
✅ Deploy Preview for ethereumorg ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
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.
Hey @pettinarip !
I see this working fine to address the hover issue. I will point out that it is breaking the AlwaysOpen
story; essentially losing the intended snapshot of the tooltip on open which creates a regression.
If it can no longer accept the isOpen
from the outside, can just accept the regression and look to add it to my PR that adds interaction testing with the play
feature.
No. This is a great catch from the Storybook tests. I think we should keep that flexibility. I've fixed this reverting the changes and adding a new prop |
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 @pettinarip! And thank you @TylerAPfledderer for the help reviewing!
Description
Avoids the overwriting of the prop
onOpen
and calls it after it is handled internally.Related Issue
Fixes #12592