-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Button icon name overrides button's own title on mouse over #2321
Comments
I mitigate it by using CSS:
|
|
ooh just discovered the |
@giladgray I'm using: <InputGroup rightElement={lockButton} /> with: const lockButton = (
<Button
icon={showPassword ? "unlock" : "lock"} // it shows title from svg
title="Show / Hide" // this doesn't work
/>
); Maybe it should take |
My current workaround is to create the const icon = <Icon icon='arrow-right' title={false} />;
return <Button minimal icon={icon} title='Next' />; It'd be nice if the |
The issue about Buttons with icons is that the svg name appears as title (tooltip) when hovering the icon, even if a title is specified on the button itself: palantir/blueprint#2321
Came here to raise this same issue. To overcome this I've had to do the following: |
Bug report
Steps to reproduce
For this code
Actual behavior
Expected behavior
Shouldn't there be a way to disable the
<title>
for the svg icon as it overrides the intended title that comes from the button itself ?Now, when one hovers with the mouse over an area of the icon, the name of the icon appears as tooltip, so in this case, one can see "play"
The text was updated successfully, but these errors were encountered: