primeng
primeng copied to clipboard
Fix: Tooltip[(16729): unresponsive browser if pressing ESC-key in combination with lots of tooltips or overlay panels
Fix for #16729
I modified the behavior so that the document:keydown
event listener is only active when the Tooltip is in interactionInProgress
state. This change significantly reduces the number of active @HostListener
, improving overall performance and preventing browser freezes.