Material: Md-tooltip keep open parent tooltip when child is hover

Created on 18 Sep 2017  路  4Comments  路  Source: angular/material

When I have a md-tooltip in the parent both will be open when I hover the child.

Have a look to the CodePen :
https://codepen.io/anon/pen/VMemZW

Most helpful comment

@Oneril Its working fine for the first one. You havent changed it for all of them.

All 4 comments

Just move the tooltip inside of the element you want to show when hovered.

So instead of

<md-tooltip>Information about the item</md-tooltip>
<div flex class="text-ellipsis">
    Lorem ipsum dolo
</div>

change it to

<div flex class="text-ellipsis">
    <md-tooltip>Information about the item</md-tooltip>
    Lorem ipsum dolo
</div>

This should solve the problem. Its not a bug but intended behavior

It doesn't change anything
https://codepen.io/anon/pen/NagNYP

@Oneril Its working fine for the first one. You havent changed it for all of them.

My bad ;)

Was this page helpful?
0 / 5 - 0 ratings