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.

Tooltips: Quickly hovering over animated tooltips causes positioning to break

See original GitHub issue

Prerequisites

Describe the issue

When quickly hovering off and back onto an item with a tooltip it sometimes causes the tooltip positioning to break. This then places the tooltip at the end of the <body> and causes horizontal/vertical scrollbars to appear on the page.

If animation is disabled on the tooltips then this problem doesn’t seem to occur.

Reduced test cases

Can see it in action on the Tooltips docs page. Scroll to the Directions examples and move your mouse backwards and forwards over the buttons and eventually you’ll see a horizontal scrollbar appear.

If you attempt to do the same thing on the v5.1 docs page it works perfectly.

Minimal examples:

What operating system(s) are you seeing the problem on?

Linux

What browser(s) are you seeing the problem on?

Chrome

What version of Bootstrap are you using?

v5.2.0

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:2
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
charlesfriescommented, Nov 22, 2022

I believe #37235 from the 5.2.3 release fixed this

1reaction
samwilliscommented, Nov 22, 2022

Seems fixed in 5.2.3 to me, no longer reproducible in same location as my comment above.

https://user-images.githubusercontent.com/31130/203406407-5e4399c2-684e-47f5-915b-a050784e3af9.mov

Read more comments on GitHub >

github_iconTop Results From Across the Web

Building a tooltip component - web.dev
It is hidden by default and becomes unhidden when an associated element is hovered or focused. A tooltip can't be selected or interacted ......
Read more >
Stop wasting your time with tooltips with Tooltip Wrappers!
Learn how to use a tooltip wrapper to avoid a lot of conflicts, and avoid a lot time wasted while placing or linking...
Read more >
Creating beautiful tooltips with only CSS - LogRocket Blog
This tutorial shows you how to create, position, and animate a tooltip using only CSS without any additional HTML elements.
Read more >
12 (Unbelievably) Good Tooltip Examples and Best Practices
The placing of tooltips can make or break your product, ... Instead, it's supposed to be a pointer-hover-triggered button type.
Read more >
css tooltip goes off screen - Stack Overflow
On small screen, hovering over some longer tooltips on right column causes tooltip to go off screen. Is there any way to get...
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