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.

My tooltip does not appear

See original GitHub issue

I have…

import ReactTooltip from 'react-tooltip'

<ReactTooltip effect="solid" />

<th data-tip={text} ... />

Just like the instructions say. If I uncheck a bunch of CSS rules then I can see the tool tip sitting empty on the screen.

But it doesn’t appear when I roll over the . What reason could there be for this?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6

github_iconTop GitHub Comments

8reactions
AndAShapecommented, Feb 21, 2019

I did this…

componentDidUpdate() {
   ReactTooltip.rebuild();
}
2reactions
aronhelsercommented, Feb 14, 2019

It’s because your generated table cells aren’t present when the Tooltip is created. You need to call .rebuild() after they are created so the tooltip can discover them.

On Thu, Feb 14, 2019 at 6:46 AM FruitAndAShape notifications@github.com wrote:

It works if I add a tooltip to another page element. Why doesn’t it like my generated table header cells?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/wwayne/react-tooltip/issues/469#issuecomment-463598206, or mute the thread https://github.com/notifications/unsubscribe-auth/AS_pnXxHFqI6aoo5Wzg9bTs7uaJnyS-Qks5vNUyEgaJpZM4a6D10 .

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bootstrap Tooltip Not Showing Up - Stack Overflow
The issue with angularjs application - is that the content is inserted into the DOM as required and as such the tooltip needs...
Read more >
The tooltip is not showing completely - HTML & CSS - SitePoint
In my website, the tooltip is not showing completely when the text is more, it is hiding under the header part… what should...
Read more >
Why my tooltip is not appearing? - Material Design for Bootstrap
I m using the following code but is not working... In HTML: <div class="btn indigo darken-3" id="settings" data-toggle=" ...
Read more >
Solved: Re: Tooltips are not showing in service
The custom tooltips work fine in Power BI Desktop, but the tooltips do not show in Service or embedded reports. The tooltip has...
Read more >
Tooltip does not appear when floating sheets are stacked on ...
Tooltip does not appear when floating sheets are stacked on top of each other on the dashboard · Issue · Environment · Resolution...
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