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

Ability to click in the entry field of a drop-down menu #4268

Closed
j-boileau opened this issue Oct 10, 2019 · 2 comments
Closed

Ability to click in the entry field of a drop-down menu #4268

j-boileau opened this issue Oct 10, 2019 · 2 comments

Comments

@j-boileau
Copy link

Reproduction link

https://ng-zorro-antd-start-s6vedu.stackblitz.io

Steps to reproduce

  • Create a drop-down menu with search enabled
  • Type in the search input
  • Click on the inputed text to place the cursor

What is expected?

Have the option to click in the input box of the drop-down menu with the search option activated so as not to depend exclusively on the keyboard to modify the search.

What is actually happening?

The drop-down menu closes when clicking in the search box

Environment Info
ng-zorro-antd 8.3.0
Browser Google Chrome - Version 77.0.3865.90 (Build officiel) (64 bits)

我们很高兴使用您的图书馆 :D

@vthinkxie
Copy link
Member

Hi @j-boileau
it is caused by the same reason as #4259
there is a backdrop created by @angular/cdk to help detect the click outside event when open the dropdown, so there is no way to get text cursor worked when the dropdown opened now

@wenqi73
Copy link
Member

wenqi73 commented Oct 21, 2020

closed via #5925.

@wenqi73 wenqi73 closed this as completed Oct 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants