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

Escape key to close a opened nz-select menu will close the whole drawer #5965

Closed
daiyis opened this issue Oct 24, 2020 · 0 comments · Fixed by #5973
Closed

Escape key to close a opened nz-select menu will close the whole drawer #5965

daiyis opened this issue Oct 24, 2020 · 0 comments · Fixed by #5973

Comments

@daiyis
Copy link

daiyis commented Oct 24, 2020

Reproduction link

https://angular-hftcf5.stackblitz.io

Steps to reproduce

  1. open the drawer
  2. open any of the select
  3. type escape key to close the select

the drawer will be closed at the same time.

What is expected?

only select dropdown should be closed and the drawer should stay in open. - This is the behavior in version 8
please note that the date-time picker is working like expected.

What is actually happening?

both the opened select and the drawer was closed.

Environment Info
ng-zorro-antd 10.0.2
Browser chrome

the behaviour in version 8 is better for user experience, the drawer should stay in open if the escape key is to close the internal nz-select

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants