Actual Behavior:
What is the issue? * After hovering over the button and clicking on it, then moving mouse off the button and hovering again tooltip appears but does not disappear when mouse leaves button area.What is the expected behavior? Tooltip should disappear.CodePen (or steps to reproduce the issue): *
CodePen Demo which shows your issue: https://codepen.io/floreks/pen/KWGbdjDetails: Step by step explanationAngularJS Versions: *
AngularJS Version: 1.6.2AngularJS Material Version: 1.1.3Friendly ping.
Friendly ping.
This could be because the button has focus. The tooltip stays visible when the button is focused regardless of whether the mouse has left the button. Add md-autohide to the md-tooltip element to force it to disappear.
Nice tip. We'll check that. Thanks.
As mentioned by Wsiegenthaler, you can use md-autohide as mentioned in the docs:
If present or provided with a boolean value, the tooltip will hide on mouse leave, regardless of focus.
Most helpful comment
This could be because the button has focus. The tooltip stays visible when the button is focused regardless of whether the mouse has left the button. Add md-autohide to the md-tooltip element to force it to disappear.
https://codepen.io/anon/pen/prMpeR