Tooltip bug when hovering child node
See original GitHub issueHaving a bunch of elements builded in this way:
<button type="button" class="btn btn-primary px-3 hasTooltip" title="Tooltip text" data-toggle="tooltip">
<i class="fas fa-user m-0"></i>
</button>
<button type="button" class="btn btn-primary px-3 hasTooltip" title="Other tooltip text" data-toggle="tooltip">
<span>Any child element</span>
</button>
So when I hover a tootlip target it shows the tooltip nicely. The problem is when I hover any child element of that tooltip element.
The element suddenly dissapears or is being repositioned at the top left corner of the view, breaking the entire behaviour of this Bootstrap component. No matters if it is an icon or a simply span node.
This issue isn’t reproducing in earlier versions of Bootstrap.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Bootstrap tooltip bug when hovering child node - Stack Overflow
The problem is when I hover any child element of that tooltip element. The element suddenly dissapears or is being repositioned at the...
Read more >Tooltip - Ant Design
A simple text popup tip. When To Use. The tip is shown on mouse enter, and is hidden on mouse leave. The Tooltip...
Read more >Tooltip disappearing and appearing when moving inside the ...
I solved the problem in the end by changing the tooltip to only appear on hover of a specific part inside the node,...
Read more >Tooltips for Gantt Elements - DHTMLX Documentation
You can add tooltips to any Gantt element via the corresponding API. ... ContactCount = "5") and it needs to be displayed when...
Read more >DOM Tooltip Library :: HOWTO
<a href="index.html" onmouseover="domTT_activate(this, event, 'content', ... caption [text|xhtml|DOM Node]: An auto-generated caption will be created if ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You can add ‘pointer-events: none’ to all elements inside the button. It helped me.
Duplicate of #31646