NG-ZORRO / ng-zorro-antd

Angular UI Component Library based on Ant Design
https://ng.ant.design
MIT License
8.85k stars 3.9k forks source link

ie11下DatePicker使用[(ngModel)]初始化后会自动聚焦最后一个日期控件 #6212

Open SanErYi123 opened 3 years ago

SanErYi123 commented 3 years ago

Reproduction link

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

Steps to reproduce

使用[(ngModel)]初始化日期控件之后在ie11下打开页面

What is expected?

正常的日期控件

What is actually happening?

最后一个日期控件会自动聚焦

Environment Info
ng-zorro-antd 10.2.1
Browser ie11
zorro-bot[bot] commented 3 years ago

Translation of this issue:

Under IE11 DatePicker uses [(ngmodel)] After initialization, automatically focus the last date control

reproduction link

[https://ng-zorro-ant-start-qkvhn1.stackblitz.io] (https://ng-zorro-antd-start-qkvhn1.stackblitz.io)

steps to reproduce

Open the page under the IE11 after the [(NgModel)] initialization date control

What is expected?

Normal date control

What is actually happens?

The last date control is automatically focused

ENVIRONMENT INFO
Ng-Zorro-ANTD 10.2.1
Browser IE11
zorro-bot[bot] commented 3 years ago

Hello @SanErYi123. We totally like your proposal/feedback, welcome to send us a Pull Request for it. Please fill the Pull Request Template here, provide documentation/test cases if needed and make sure CI passed, we will review it soon. Appreciate it advance and we are looking forward to your contribution!

你好 @SanErYi123, 我们完全同意你的提议/反馈,欢迎直接在此仓库 创建一个 Pull Request 来解决这个问题。请务必填写 Pull Request 内的预设模板,提供改动所需相应的测试用例、文档等,并确保 CI 通过,我们会尽快进行 Review,提前感谢和期待您的贡献! giphy