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

Unable to config autofocus of Nz-Modal #5319

Closed
Lebronbingcheng opened this issue May 21, 2020 · 1 comment
Closed

Unable to config autofocus of Nz-Modal #5319

Lebronbingcheng opened this issue May 21, 2020 · 1 comment
Assignees
Labels
Component: Modal 👨‍🏭 Some one working on this A community member has started working on this

Comments

@Lebronbingcheng
Copy link

Reproduction link

https://ng-zorro-antd-ivy-oyx6o4.stackblitz.io

Steps to reproduce

There is an auto focus when modal is opened. I do not want to enable auto focus. However, I do not find how to close it.

What is expected?

Close auto focus when I open a modal.

What is actually happening?

There is an auto focus when modal is opened

Environment Info
ng-zorro-antd 9.1.2
Browser Chrome

modal框打开的时候有一个auto focus。但是我没找到地方关掉这个auto focus。像是一个bug

@hsuanxyz
Copy link
Member

close via #5313. [nzAutofocus]="null"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Modal 👨‍🏭 Some one working on this A community member has started working on this
Projects
None yet
Development

No branches or pull requests

2 participants