-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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 Visual Issue still persists #15795
Comments
Hi, Could you please share a stackblitz example so we can identify the issue clearly? |
Modified prime ng dialog example with tooltip
The tooltip text will not only show within the tooltip, but initially also in the dialogs parent component . |
https://stackblitz.com/edit/rfsxwz?file=src%2Fapp%2Fdialog-basic-demo.html move mouse over input email you will see tooltip hello but you also see the text hello flickering on main page a second time |
I found the source of the bug. After the version 17.15.0 in the show method of the Tooltip class the following if was added. if (pDialogWrapper) { the setTimeout causes a redraw to happen before the tooltip is fully setup causing the problem. Simply removing the setTimeout fixes the problem, but I don't know why it was added, so maybe removing it causes other problems |
Due to PrimeNG team's busy roadmap, this issue is available for anyone to work on. Make sure to reference this issue in your pull request. ✨ Thank you for your contribution! ✨ |
Describe the bug
#15545
if tooltip is inside a table within a Dialog the problem still occures. In 17.16.1 it occured also without a dialog. In 17.15.0 the Problem did not exist.
Environment
windows,chrome
Reproducer
No response
Angular version
17
PrimeNG version
17.18.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.13.0
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: