Overlaypanel: Overlaypanel closes when any key is pressed #4712
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
If the closeOnEscape prop is true (this is the default behavior), the overlaypanel should only be closed when the escape key is pressed. There is a bug here, the overlaypanel closes when any key is pressed.
Reproducer
https://primevue.org/overlaypanel/
PrimeVue version
3.38.1
Vue version
3.x
Language
TypeScript
Build / Runtime
Vue CLI App
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
Overlay should close on only escape key press.
The text was updated successfully, but these errors were encountered: