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

[Bug] DatePicker 焦点问题 #37165

Closed
neo-of-matrix opened this issue Aug 20, 2022 · 5 comments · Fixed by react-component/picker#490
Closed

[Bug] DatePicker 焦点问题 #37165

neo-of-matrix opened this issue Aug 20, 2022 · 5 comments · Fixed by react-component/picker#490
Labels
🐛 Bug Ant Design Team had proved that this is a bug. Inactive

Comments

@neo-of-matrix
Copy link
Contributor

Reproduction link

Edit on CodeSandbox

Steps to reproduce

点击一个日期输入框,按住鼠标不动然后移动到另一个日期输入框,这时会触发另一个日期输入框的点击事件

What is expected?

不会触发另一个日期输入框的点击事件

What is actually happening?

触发另一个日期输入框的点击事件

Environment Info
antd 4.22.4
React ^16.14.0
System windows
Browser chrome
@github-actions
Copy link
Contributor

@neo-of-matrix
Copy link
Contributor Author

没有解决问题

@MadCcc
Copy link
Member

MadCcc commented Aug 22, 2022

实际场景是什么?

@neo-of-matrix
Copy link
Contributor Author

实际场景是什么?

比如一个DatePicker,一个Input, 用户经常选择Input 内容进行复制时会滑到DatePicker

@MadCcc MadCcc added the 🐛 Bug Ant Design Team had proved that this is a bug. label Aug 25, 2022
@wangmeijian
Copy link

我来处理

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Ant Design Team had proved that this is a bug. Inactive
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants