-
Notifications
You must be signed in to change notification settings - Fork 487
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
Icon links and buttons need to have a title to show a tooltip | Fixes #972 #973
Icon links and buttons need to have a title to show a tooltip | Fixes #972 #973
Conversation
Pull Request Test Coverage Report for Build 887
💛 - Coveralls |
@matuzalemsteles, could you please take a look here? 👍 |
Just started reviewing :) |
LGTM! hey @carloslancha, It seems that the tooltip has some bugs when it is passed the mouse over it does the wrong calculation and the second time, fixes... |
Hi @matuzalemsteles yep, I already reported it when we merged the component. If you want to take a look would be helpful ;) Thx! |
Ah yeah, I had not seen it, sorry 😅. I can take a look at this tomorrow 🙂. |
if (titleTag) { | ||
target.setAttribute('data-title', titleTag.innerHTML); | ||
target.setAttribute('data-restore-title', 'true'); | ||
titleTag.remove(); |
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.
Do we really need to do this for svgs? The only reason we remove the title
attribute is to make sure it doesn't show the default tooltip. Does it also happens for svgs?
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.
@jbalsas yep 😅
No description provided.