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 | Tooltip is out of position after dialog opens #15485

Closed
mehmetcetin01140 opened this issue May 7, 2024 · 8 comments · Fixed by #15486 · May be fixed by Rodolphe33/gestion-personnel#2 or diaz-rigo/austins#4
Closed

Tooltip | Tooltip is out of position after dialog opens #15485

mehmetcetin01140 opened this issue May 7, 2024 · 8 comments · Fixed by #15486 · May be fixed by Rodolphe33/gestion-personnel#2 or diaz-rigo/austins#4
Assignees
Labels
LTS-PORTABLE Issue's fix will be ported to supported LTS versions PRO Support Issue was reported by PRO User Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@mehmetcetin01140
Copy link
Contributor

When an inputfield within a dialog has autofocus="true", the tooltip for the inputfield is out of position after you opening the dialog. The tooltip appears instantly, while the dialog has an animation.

@mehmetcetin01140 mehmetcetin01140 added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working PRO Support Issue was reported by PRO User labels May 7, 2024
@mehmetcetin01140 mehmetcetin01140 added this to the 17.16.1 milestone May 7, 2024
@mehmetcetin01140 mehmetcetin01140 self-assigned this May 7, 2024
@github-actions github-actions bot added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label May 7, 2024
@cetincakiroglu cetincakiroglu added LTS-PORTABLE Issue's fix will be ported to supported LTS versions and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels May 9, 2024
cetincakiroglu added a commit that referenced this issue May 9, 2024
Fixed #15485 - Tooltip | Tooltip is out of position after dialog opens
@horizoncarlo
Copy link

This has resulted in a regression when rapidly mousing over tooltips, due to the setTimeout that was added #15513

@Alextremeee
Copy link

Alextremeee commented May 10, 2024

What's the logic behind adding a setTimeout here anyway? What's behind the choice of 100ms as a magic number, is it arbitrary?

@Alextremeee
Copy link

I ask because that setTimeout is causing issues for me regardless of your null check, I see the unstyled contents of my tooltip appended to my DOM flashing on screen for 100ms before it renders in place because of it.

@jlorellana684
Copy link

Im also facing the same issue...

@majkers
Copy link

majkers commented May 14, 2024

Same for me...

@Draftscode
Copy link

same

@volkorros
Copy link

Error "Cannot read properties of null (reading 'style')" in console and scroll blinking on show/hide tooltip.

@Ruslancic
Copy link

Same here!

Angular CLI: 17.3.7
Node: 18.18.2
Package Manager: npm 10.5.0
OS: win32 x64
Angular: 17.3.8
Package                         Version
---------------------------------------------------------
primeng     17.16.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
LTS-PORTABLE Issue's fix will be ported to supported LTS versions PRO Support Issue was reported by PRO User Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
9 participants