primeng
primeng copied to clipboard
Tooltip: rendered component doesn't respect changes to tooltipEvent value
Describe the bug
Attempting to change behavior when the viewport shifts from desktop width to mobile width, I toggle between values 'hover' and 'focus'. While the ng-reflect-tooltip-event
attribute reflects the change, behavior does not change for the tooltip
Environment
Angular 17.1.3, PrimeNG 17.0.0
Reproducer
https://github-bkmor9.stackblitz.io
Angular version
17.1.3
PrimeNG version
17.0.0
Build / Runtime
TypeScript
Language
TypeScript
Node version (for AoT issues node --version)
20.10.0
Browser(s)
All
Steps to reproduce the behavior
Set a tooltip on an element. Change the tooltipEvent value from 'hover' to 'focus'
Expected behavior
Element on receiving focus should display tooltip