Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tooltip in PrimeNG 16 stopped working in Chrome #13191

Closed
olegkap opened this issue Jun 13, 2023 · 2 comments
Closed

Tooltip in PrimeNG 16 stopped working in Chrome #13191

olegkap opened this issue Jun 13, 2023 · 2 comments
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

Comments

@olegkap
Copy link

olegkap commented Jun 13, 2023

Describe the bug

Looks like this problem only occurs in Chrome browsers
If you go to documentation site:
https://primeng.org/tooltip

And try to see example of tooltip then tooltip will not show in any example and all you see now is this error in the console debug window:

"polyfills.592a92282d9cd7cd.js:1 Uncaught Cannot append null to [object HTMLDivElement]"

Environment

Chrome: Version 114.0.5735.110 (Official Build) (64-bit)
Angular version 16
PrimeNG version 16

Reproducer

No response

Angular version

16.0.0

PrimeNG version

16.0.0

Build / Runtime

Angular CLI App

Language

ALL

Node version (for AoT issues node --version)

v18.15.0

Browser(s)

Chrome, Version 114.0.5735.110 (Official Build) (64-bit)

Steps to reproduce the behavior

  1. Open Chrome Browser
  2. Go to https://primeng.org/tooltip
  3. Try to hover or go into any examples that show tooltip

Expected behavior

Tooltip should be shown as expected

@olegkap olegkap added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Jun 13, 2023
@tonymporter
Copy link

tonymporter commented Jun 13, 2023

Same error here, just upgraded.

To get around this in the meantime add the following...

appendTo="body"

@gucal
Copy link
Member

gucal commented Jun 13, 2023

Fix commit - 039f3e2

You can use appendTo="body"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Projects
None yet
Development

No branches or pull requests

3 participants