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】 #3432

Open
1 task
snwyz opened this issue Dec 22, 2020 · 1 comment
Open
1 task

树型选择控件【未知BUG】 #3432

snwyz opened this issue Dec 22, 2020 · 1 comment

Comments

@snwyz
Copy link

snwyz commented Dec 22, 2020

  • 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]属性,导致搜索点击确认完一个子项后,无法接着继续搜索。

@github-actions
Copy link

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

@github-actions github-actions bot added the Stale label Feb 25, 2021
@github-actions github-actions bot removed the Stale label Mar 4, 2021
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

2 participants