primeng icon indicating copy to clipboard operation
primeng copied to clipboard

Tooltip flickering

Open csvinhal opened this issue 7 years ago • 3 comments

I'm submitting a ... (check one with "x")

[X] bug report => Search github for a similar issue or PR before submitting
[ ] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primeng/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=35

Plunkr Case (Bug Reports) It can be simulated on PrimeNG showcase, so I didn't create a stackblitz. tooltip_flickering

Current behavior When mouse hover on input border the input starts to flicker not showing the tooltip. It only happens using tooltip with hover event and it can be simulated on PrimeNG showcase.

Expected behavior When mouse hover on input border it should open tooltip and don't flicker.

Minimal reproduction of the problem with instructions It can be simulated on PrimeNG showcase doing the same as the gif above.

  • Angular version: 8.X

  • PrimeNG version: 8.1.1

  • Browser: Chrome 78.0.3904.97

csvinhal avatar Nov 18 '19 19:11 csvinhal

We have had the same problem within table cells. It seems that an equal issue existed already in primefaces (https://github.com/primefaces/primefaces/pull/2373).

Adding "pointer-events" to the CSS should fix the problem:

ui-tooltip {
  pointer-events: none;
}

r1x3l avatar Dec 16 '19 12:12 r1x3l

That worked to me, thank you @r1x3l. I also submitted a PR to correct this issue to everyone. #8505

csvinhal avatar Jan 31 '20 10:01 csvinhal

I still get this error when using tooltip on pButton.

ajsaraujo avatar Aug 24 '21 19:08 ajsaraujo