Skip to content

下拉树过滤报错 #3126

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

Closed
1 task done
Darkbish opened this issue Nov 5, 2020 · 1 comment
Closed
1 task done

下拉树过滤报错 #3126

Darkbish opened this issue Nov 5, 2020 · 1 comment
Labels
1.x version 1.x outdated

Comments

@Darkbish
Copy link

Darkbish commented Nov 5, 2020

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

Version

undefined

Environment

macos latest, chrome latest

Reproduction link

https://www.antdv.com/components/tree-select-cn/

Steps to reproduce

  1. 选中一个值
  2. 随便输入搜索值,但是需要没有任何匹配项
  3. 点击空白处,关闭下拉框
  4. 在打开下拉框,控制台出现异常信息
TypeError: Cannot read property 'domTreeNodes' of null
at c.<anonymous> (index.14e79590.js:1)
at Array.<anonymous> (f1c45352.async.js:2)
at Xt (f1c45352.async.js:2)

What is expected?

没有匹配项时,再次打开下拉树,不报异常信息

What is actually happening?

出现异常信息

@tangjinzhou tangjinzhou added the 1.x version 1.x label Nov 5, 2020
tangjinzhou added a commit that referenced this issue Nov 5, 2020
@github-actions
Copy link

github-actions bot commented Nov 6, 2021

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
1.x version 1.x outdated
Projects
None yet
Development

No branches or pull requests

2 participants