InputNumber: Tooltip with tooltipEvent='focus' is never displayed #16505
Labels
Resolution: Help Wanted
Issue or pull request requires extra help and feedback
Milestone
Describe the bug
Looks like bug is caused by fix for issue #16106
When adding a tooltip to a
InputNumber
component and settingtooltipEvent
tofocus
, 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.
The text was updated successfully, but these errors were encountered: