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

[PickerInput]: Esc key unexpectedly closes modal window when Picker Input dropdown is focused and expanded #2604

Open
NatalliaAlieva opened this issue Nov 4, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@NatalliaAlieva
Copy link
Collaborator

Description

There is an issue within the modal window containing a picker input. When the dropdown of the single picker input is expanded and the ESC key is pressed, instead of just closing the dropdown, the entire modal window closes.

Steps to Reproduce

  1. Open this example.
  2. Expand "Country" by clicking on it.
  3. Press the ESC key to close the picker.

Actual result

When the Esc key is pressed while the dropdown of the picker input is open, the entire modal window closes along with the dropdown.

Screen.Recording.2024-11-04.at.10.48.30.mov

Expected result

Pressing the Esc key when the dropdown of the picker input is open should only close the dropdown, not the entire modal window.

Environment

  • UUI version: 5.10.2
  • Browser name: any
  • Operating System: any
@NatalliaAlieva NatalliaAlieva added the bug Something isn't working label Nov 4, 2024
@NatalliaAlieva NatalliaAlieva changed the title [PickerInput]: Esc key unexpectedly closes modal window when Picker Input dropdown is focused and expanded [PickerInput]: Esc key unexpectedly closes modal window when Picker Input dropdown is focused and expanded Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Backlog
Development

No branches or pull requests

1 participant