Tooltip: appendTo not working when targeting elements besides body #17243
Labels
Resolution: Help Wanted
Issue or pull request requires extra help and feedback
Milestone
Describe the bug
appendTo
seems broken for me on the tooltip component when giving a target element that's not the body.Side note:
autoHide
also doesn't seem to do anything.Pull Request Link
No response
Reason for not contributing a PR
Other Reason
No response
Reproducer
https://stackblitz.com/edit/github-h6dcpcrk?file=src%2Fapp%2Fapp.component.html
Environment
Ubuntu
Angular version
19.0.5
PrimeNG version
v19
Node version
20.9.0
Browser(s)
No response
Steps to reproduce the behavior
Add
appendTo
with a target element to a tooltip component, hover.Expected behavior
The tooltip should correctly be applied as a child element to the target element, and be removed from the DOM when hovered off.
The text was updated successfully, but these errors were encountered: