Skip to content
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

Pressing escape key while modal is open should only close select panel and not the modal #17670

Open
tri-harmoney opened this issue Feb 13, 2025 · 0 comments
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

Comments

@tri-harmoney
Copy link
Contributor

tri-harmoney commented Feb 13, 2025

Describe the bug

Pressing 'esc' key while both the options of a select and a dialog are open closes both. I would expect that only the select panel closes and the dialog stays open.

Pull Request Link

#17673

Reproducer

https://stackblitz.com/edit/d1gqrtas-kelhwvds?file=src%2Fapp%2Fdialog-template-demo.html

Environment

Macos

Angular version

19.0.1

PrimeNG version

v19

Node version

No response

Browser(s)

No response

Steps to reproduce the behavior

  1. open the dialog
  2. open one of the selects
  3. press 'esc' key on keyboard

Expected behavior

The select panel closes and the dialog stays open.

@tri-harmoney tri-harmoney added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Projects
None yet
Development

No branches or pull requests

1 participant