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

Opened Dropdown is not being closed when click the host element under click trigger mode #6353

Closed
daiyis opened this issue Jan 19, 2021 · 0 comments · Fixed by #6354
Closed
Assignees

Comments

@daiyis
Copy link

daiyis commented Jan 19, 2021

Reproduction link

https://stackblitz.com/edit/angular-qhunrp?file=src/app/app.component.ts

Steps to reproduce

  1. click the host element, which will open the dropdown menu
  2. click the host element again while the menu is in open

What is expected?

click the host element on step 2 should close the dropdown menu

This is what happens in version 10 and previous versions - can check the ng-zorro's online demo

What is actually happening?

the menu is not being closed

Environment Info
ng-zorro-antd 11.0.2
Browser Chrome

a regression bug in the latest version 11?

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