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

InputNumber: Tooltip with tooltipEvent='focus' is never displayed #16505

Open
Kbdq opened this issue Oct 8, 2024 · 1 comment
Open

InputNumber: Tooltip with tooltipEvent='focus' is never displayed #16505

Kbdq opened this issue Oct 8, 2024 · 1 comment
Labels
Resolution: Help Wanted Issue or pull request requires extra help and feedback
Milestone

Comments

@Kbdq
Copy link

Kbdq commented Oct 8, 2024

Describe the bug

Looks like bug is caused by fix for issue #16106

When adding a tooltip to a InputNumber component and setting tooltipEvent to focus, the tooltip never shows.

It is broken in PrimeNG 17.18.11 and 17.18.10. It works as expected in PrimeNG 17.18.9

Please note, the following combinations have no issue:

Normal and tooltipEvent='focus' works fine
InputNumber and tooltipEvent='hover' works fine

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

Environment

Angular: 18.2.7
PrimeNG: 17.18.11 or 17.18.10

Reproducer

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

Angular version

18.2.7

PrimeNG version

17.18.11

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

20.16.0

Browser(s)

No response

Steps to reproduce the behavior

Open the page with a InputNumber element, configured with a tooltip with tooltipEvent='focus'.
Focus on the InputNumber element.

Expected behavior

Expected result: tooltip is displayed.

Actual result: no tooltip is displayed.

@Kbdq Kbdq added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Oct 8, 2024
@mertsincan mertsincan added Resolution: Help Wanted Issue or pull request requires extra help and feedback and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Nov 19, 2024
@mertsincan mertsincan added this to the Future milestone Nov 19, 2024
Copy link

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! ✨

@github-project-automation github-project-automation bot moved this to Review in PrimeNG Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Help Wanted Issue or pull request requires extra help and feedback
Projects
Status: Review
Development

No branches or pull requests

2 participants