ConfirmPopup: CloseOnEscape is not working #13652
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
When pressing escape on an open confirmation dialog with
closeOnEscape: true
, nothing happens.Environment
Reproducer
https://stackblitz.com/edit/ztmvzt?file=src%2Fapp%2Fapp.module.ts,src%2Fapp%2Fdemo%2Fconfirm-popup-basic-demo.ts
Angular version
16.1.0
PrimeNG version
16.3.1
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
16.20.0
Browser(s)
No response
Steps to reproduce the behavior
Open the confirmation dialog and try to close it using escape.
Expected behavior
The dialog should close immediately after pressing escape.
The text was updated successfully, but these errors were encountered: