Dropdown: Escape Key event not default prevented #13463
Labels
LTS-PORTABLE
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
When closing a dropdown overlay via 'Escape' Key on keyboard, the event is not default prevented. Therefore other components cannot detect that this keyboard event was already processed.
Environment
Angular 16 with primeNG 16
Reproducer
No response
Angular version
16.0.5
PrimeNG version
16.0.2
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
The dropdown should close but the dialog should recognize that
event.defaultPrevented
istrue
and should not closeThe text was updated successfully, but these errors were encountered: