-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Open
Labels
Description
- I have searched the issues of this repository and believe that this is not a duplicate.
Version
1.6.5
Environment
vue: 2.6.12
Reproduction link
https://www.antdv.com/components/tree-select-cn/
Steps to reproduce
Tree树形控件
1、搜索框中搜索一个子项
2、点击确认该搜索子项
3、此时欲想搜索其他子项,搜索框无法点击
What is expected?
搜索点击确定完子项后,点击搜索应该聚焦继续搜索
What is actually happening?
无法点击
详细代码如下:
<a-tree-select
allow-clear
placeholder="请选择"
:dropdownClassName="$style.filterDropdown"
v-model="select"
tree-checkable
:open="openSelectChange"
:maxTagCount="2"
show-search
treeNodeFilterProp="title"
:tree-data="Options"
:getPopupContainer="(triggerNode) => triggerNode.parentNode"
/>
这里我使用了你们未开放在文档里的props-[open]属性,导致搜索点击确认完一个子项后,无法接着继续搜索。