question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Tooltip still getting stuck

See original GitHub issue

Despite #172 had been solved in case of changing data, this bug is still happening when it changes the options. Set the option useInteractiveGuideline=true. After populating data, change the current options such as tickFormat. This only happens with useInteractiveGuideline=true. The cause of the problem is because clearElement is removing the wrong id tooltip.

if (scope.chart && scope.chart.tooltip && scope.chart.tooltip.id) {
                                d3.select('#' + scope.chart.tooltip.id()).remove();
                            }

I think to solve this in case of useInteractiveGuideline=true should have this complement, right?

 if (scope.chart && scope.chart.interactiveLayer && scope.chart.interactiveLayer.tooltip && scope.chart.interactiveLayer.tooltip.id) { 
                                d3.select('#' + scope.chart.interactiveLayer.tooltip.id()).remove(); 
                            } 

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:6

github_iconTop GitHub Comments

3reactions
mdvali6666commented, Jul 31, 2019

This trick helps for me: chart: { callback: function(chart) { $timeout(function() { d3.selectAll(‘.nvtooltip’).style(‘opacity’, 0); }, 100); }

0reactions
Shubhamnandwana18commented, Feb 12, 2018

Hi @alanblins @RyanChristian259 Problem stills persist when I move the mouse over chart consistently. Tooltip stucks while the chart refreshes. Still stuck with this problem. Thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bootstrap Tooltip remains stuck - Stack Overflow
I am using Bootstrap tooltip for the add & close buttons. The problem that I am facing is Tooltip of the first add...
Read more >
A tooltip is stuck on the desktop and will not go away.
I stumbled across a potential solution in my daily usage. Try pressing [Windows Key] + [D]. This should minimize all the windows and...
Read more >
Terminal tooltip gets stuck · Issue #144271 · microsoft/vscode
Hmm seems like the z-index is no longer an issue in the most recent commit of the main branch. However, in 7400007 pointer-events:...
Read more >
When debugging a solution, a tooltip remains stuck once it ...
While most of the time the tooltip will disappear, occassionally it does not. Once stuck, the only way to force the popup to...
Read more >
20987 – Tooltips can get stuck on screen - Bugs - Eclipse
Yes, it happens in GM4. Here's how to reproduce the problem: Open a java file, find a 'class name' and double click on...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found