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

Put an input search box in the select drop-down slot, and click the input box will lose the focus. This antdv 1.7.5, and 2.1.6 have this problem, when can I fix it, and then I wrote the same with react's antd A drop-down search does not have this problem #4132

Open
1 task done
Epic-Deno opened this issue May 27, 2021 · 3 comments

Comments

@Epic-Deno
Copy link

Epic-Deno commented May 27, 2021

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

2.1.4

Environment

vue version: vue 3.0.1 , browser version: chrome 90.0.4430.212(正式版本)

Reproduction link

https://stackblitz.com/edit/vue-u346sc?embed=1&file=src/components/HelloWorld.vue

Steps to reproduce

select下拉插槽放一个input搜索框,点击输入框就会失去焦点,这个antdv 1.7.5,和2.1.6都有这个问题,请问下什么时候可以修复下,然后我用react的antd写了同样一个下拉搜索就没这个问题

What is expected?

select下拉插槽放一个input搜索框,点击输入框输入内容,下拉步会收起来

What is actually happening?

select下拉插槽放一个input搜索框,点击输入框就会失去焦点,下拉自动收起


https://stackblitz.com/edit/vue-u346sc?embed=1&file=src/components/HelloWorld.vue

@github-actions github-actions bot changed the title select下拉插槽放一个input搜索框,点击输入框就会失去焦点,这个antdv 1.7.5,和2.1.6都有这个问题,请问下什么时候可以修复下,然后我用react的antd写了同样一个下拉搜索就没这个问题 Put an input search box in the select drop-down slot, and click the input box will lose the focus. This antdv 1.7.5, and 2.1.6 have this problem, when can I fix it, and then I wrote the same with react's antd A drop-down search does not have this problem May 27, 2021
@Epic-Deno
Copy link
Author

我用react的antd写了同样一个下拉搜索就没这个问题,地址:https://stackblitz.com/edit/react-ts-kv9psa?embed=1&file=index.tsx

@satan31415
Copy link

我也遇到这个问题, 是在版本低一些的浏览器可以复现出来(chrome 63), 请问有啥解决方法吗, 在(chrome 91 不会遇到这个问题)
0001

@Epic-Deno
Copy link
Author

我也遇到这个问题, 是在版本低一些的浏览器可以复现出来(chrome 63), 请问有啥解决方法吗, 在(chrome 91 不会遇到这个问题)
0001

没有一个版本的浏览器可以支持的,你的91能支持我很纳闷,难道我浏览器是假的

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

3 participants