-
-
Notifications
You must be signed in to change notification settings - Fork 533
fix: update node contains conditional check on Tooltip component #988
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
Conversation
I have no problem with doing this change but it feels unnecessary. Maybe in older browsers something weird might happen? Or maybe if the reference to the node becomes stale Again, we can do the change just in case, but if #985 wasn't just a suggestion, and @rolandpoulter actually ran into an error because of this, I'd love to see a reproducible example purely out of curiosity. |
Co-authored-by: Gabriel Jablonski <[email protected]>
@gabrieljablonski I do agree with you, can you handle this PR and this issue, please? |
@danielbarion No problem. I'll just wait for a response from @rolandpoulter and take it from there. |
@gabrieljablonski I can look into the reason why, but I did get an error after upgrading to the latest version. I patched it in my node_modules with the above change because I noticed in the code you are checking for node to be truthy before calling contains elsewhere. There might be something on my end with how I wrapped the tooltip that causes this issue but it will take some time to investigate and provide the exact reproduction. |
@rolandpoulter No worries, just wanted to make sure this was what solved your problem. We'll merge this change and release a new version soon. Thanks for reporting it! |
closes #985