Popper-core: Tooltip doesn't get hidden (not always, but often)

Created on 24 Jul 2019  路  8Comments  路  Source: popperjs/popper-core

CodePen demo

https://codepen.io/anon/pen/rXLNXP

Steps to reproduce the problem

  1. open the CodePen
  2. move the mouse cursor over the red trigger element and what at least a second for the tooltip to show up
  3. move the mouse into the tooltip wait a moment and then move the mouse (fast) further to the right and of the tooltip
  4. in approximately 1 on out of 5 cases the tooltip doesn't hide and stays there indefinitely

What is the expected behavior?

The tooltip should hide when the trigger is set to "hover" and the mouse isn't hovering the trigger or the tooltip

What went wrong?

The tooltip doesn't get hidden in some cases

# BUG 馃悶

All 8 comments

Gif of reproduced bug

@peda, thanks for creating the issue. I reproduced the problem and recorded it for better visualisation.
The bug is catched on at 5th try.
tooltip

https://popper.js.org/popper-documentation.html#Popper.Defaults.removeOnDestroy

There's a typo that might cause this removeOnDestroay iso removeOnDestroy:
Screenshot 2019-08-15 at 09 56 29

I tried to reproduce it before and it was as shown on the nice video. After the typo I couldn't reproduce it anymore.
Hope it helps!

@MBing even wit the typo fixed I can still reproduce it.

We have lots of tooltips and it completely randomly doesn't hide them sometimes. I gave up trying to find out why and just added a ticket to migrate to something else.

Thanks for the support @robclancy! I'm sure you will find a whole lot of open source maintainers willing to give out for free their time to fix your own problems with this attitude 馃憤

No worries. I don't plan to support a tooltip library that can't consistently hide a tooltip anyway :) And has open issues from over a year ago where things are tagged as "low difficulty". Oh and doesn't even provide CSS for arrows to the point we had to use view source to find something usable.

There are lots of people with a "good attitude" without this maintainer fixing their issues.

It's nice to see people still can't take it when their bugs make people not want to use their product. I already spent hours trying to find the issue because I knew even if I posted it you wouldn't try anyway. As shown by this issue.

oh my God did you just thumb up your own comment? Hilarious.

Hi, I'm interrupting the development of the tooltip.js library to focus on the development of @popperjs/core (Popper.js v2).

Please consider switching to Tippy.js, which is a way better alternative to Tooltip.js and is well maintained. Tippy.js still uses Popper.js under the hood, so you will find all your favourite features.

I'll close this issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rosskevin picture rosskevin  路  6Comments

ConneXNL picture ConneXNL  路  3Comments

FezVrasta picture FezVrasta  路  5Comments

FezVrasta picture FezVrasta  路  3Comments

cixonline picture cixonline  路  5Comments