ReactTooltip/react-tooltip

[BUG] Anchor tooltip to support content of varying size

Closed this issue · 3 comments

Check the troubleshooting page before opening an issue!

Make sure your problem isn't already covered at the troubleshooting page: https://react-tooltip.com/docs/troubleshooting


Bug description
Tooltip is being offset when content is dynamically being updated. Tooltip itself is not being anchored.

Version of Package
vX.X.X

To Reproduce
Update content dynamically using React state and observe that tooltip is being repositioned.

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots

Screen.Recording.2024-07-11.at.4.36.48.PM.mov

Desktop (please complete the following information if possible or delete this section):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]
  • Frameworks [e.g. React 18, Next.js 13]

Smartphone (please complete the following information if possible or delete this section):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]
  • Frameworks [e.g. React 18, Next.js 13]

Additional context
Add any other context about the problem here.

This issue is stale because it has not seen activity in 30 days. Remove the stale label or comment within 14 days, or it will be closed.