-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dropdown: esc keypress propagates and triggers close in dialogs #5138
Comments
Thanks a lot for your report! I set a milestone for this ticket. We'll check it before the milestone is released. |
The same happens if a dialog is opened from within another dialog: Pressing ESC closes both dialogs immediately instead of the topmost one. |
Fixed #5138 - Dropdown: esc keypress propagates and triggers close in…
This is still an issue. |
Having same issue with Calendar inside the OverlayPanel. |
Also having the same issue with multiple modal Dialogs. Pressing Esc on current dialog closes dialog as well as all other modal dialogs. |
Describe the bug
I'm using a Dropdown in a DynamicDialog. When ESC is pressed to close the Dropodown options the Dialog component closes as well.
Is it a bug or did I miss how to stop the event propagation?
Reproducer
https://codesandbox.io/p/devbox/sweet-parm-tg9syr
PrimeVue version
3.46
Vue version
3.x
Language
TypeScript
Build / Runtime
Vue CLI App
Browser(s)
No response
Steps to reproduce the behavior
No response
Expected behavior
No response
The text was updated successfully, but these errors were encountered: