-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
紧急:select组件,在dropdownRender里加了一个input组件,input退格时,select多选的内容会跟随退格 #7299
Comments
需要提供一下复现的代码 |
Hello @yajzhang1. Please provide a online reproduction by forking this link for vue2、 link for vue3 or a minimal GitHub repository. Make sure to choose the correct version. 你好 @yajzhang1, 我们需要你提供一个在线的重现实例以便于我们帮你排查问题。你可以通过点击 此处 for vue2、 此处 for vue3 创建一个 codesandbox 或者提供一个最小化的 GitHub 仓库。请确保选择准确的版本。 |
构建了一个在线实例,辛苦看下 |
提供的代码并没有复现出这个问题🤔 |
有呢有呢,一按回车,选中的就消失了 |
当选中下拉列表的一个元素的时候,会有一个灰色的高亮效果。这个是个回车的快捷键,进行选中和取消选中。 |
正如@tiansQAQ 说的那样,回车键的效果等同于click。你可以测试将鼠标放在下拉框的选项上,此时不要点击,触发回车键则会选中当前选项,再次触发则会取消。 |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days |
ME1705635716374.mp4
Version
4.0.7
Environment
mac, windows, chrome
Reproduction link
https://antdv.com/components/select-cn
Steps to reproduce
select组件,在dropdownRender里加了一个input组件,input退格时,select多选的内容会跟随退格
What is expected?
select多选内容不跟着撤销
What is actually happening?
跟随dropdownRender 的input撤销了
The text was updated successfully, but these errors were encountered: