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

Password: Tooltip with tooltipEvent='focus' is never displayed #16106

Closed
igor-leshkevych opened this issue Jul 26, 2024 · 0 comments · Fixed by #16107 · 4 remaining pull requests
Closed

Password: Tooltip with tooltipEvent='focus' is never displayed #16106

igor-leshkevych opened this issue Jul 26, 2024 · 0 comments · Fixed by #16107 · 4 remaining pull requests
Assignees
Labels
LTS-FIXED-15.4.25 LTS-FIXED-16.9.14 LTS-PORTABLE Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@igor-leshkevych
Copy link

Describe the bug

When adding a tooltip to a Password component and setting tooltipEvent to focus, the tooltip never shows.
I also tested the following combinations:

  1. Normal <input> and tooltipEvent=focus: works fine
  2. Password and tooltipEvent=hover: works fine

So the issue seems to be specific to the combination of Password and tooltipEvent=focus.

Environment

The original environment I used:

  • Node v22.3.0
  • Angular 18.1.1
  • PrimeNG 17.18.6

But I also reproduced the issue on a StackBlitz from your website (in this section). There, the environment is:

  • Angular 18.0.1
  • PrimeNG 17.18.6

Reproducer

https://stackblitz.com/edit/github-jj5ibr?file=src%2Fapp%2Fapp.component.html

Angular version

18.0.1

PrimeNG version

17.18.6

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

22.3.0

Browser(s)

No response

Steps to reproduce the behavior

  1. Open the page with a password element, configured with a tooltip.
  2. Focus on the password element.

Expected behavior

Expected result: The tooltip is displayed.

Actual result: no tooltip is displayed.

@igor-leshkevych igor-leshkevych added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Jul 26, 2024
@mehmetcetin01140 mehmetcetin01140 added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Jul 26, 2024
@mehmetcetin01140 mehmetcetin01140 self-assigned this Jul 26, 2024
@mehmetcetin01140 mehmetcetin01140 added this to the 17.18.7 milestone Jul 26, 2024
cetincakiroglu added a commit that referenced this issue Aug 1, 2024
Fixed #16106 - Password | Tooltip with tooltipEvent='focus' is never …
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment