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

TreeSelect #18303

Closed
1 task
jiangdexiao opened this issue Aug 16, 2019 · 4 comments
Closed
1 task

TreeSelect #18303

jiangdexiao opened this issue Aug 16, 2019 · 4 comments
Assignees
Labels
🤔 Need Reproduce We cannot reproduce your problem

Comments

@jiangdexiao
Copy link

jiangdexiao commented Aug 16, 2019

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

Reproduction link

Edit on CodeSandbox

Steps to reproduce

TreeSelect 当showSearch 设置为false 时候 点击控件 报错 focus 是 undefined
_this.inputRef.current.focus();

What is expected?

当关闭搜索框功能不报错

What is actually happening?

关闭搜索框功能报错

Environment Info
antd 3.11.0
React 16.2.0
System win10
Browser chrome72.0.3626.81
@afc163
Copy link
Member

afc163 commented Aug 16, 2019

image

Your codesandbox is not reproducible.

@afc163 afc163 added the 🤔 Need Reproduce We cannot reproduce your problem label Aug 16, 2019
@ant-design-bot
Copy link
Contributor

Hello @jiangdexiao. Please provide a online reproduction by forking this link https://u.ant.design/codesandbox-repro or a minimal GitHub repository. Issues labeled by Need Reproduce will be closed if no activities in 7 days.

你好 @jiangdexiao, 我们需要你提供一个在线的重现实例以便于我们帮你排查问题。你可以通过点击 此处 创建一个 codesandbox 或者提供一个最小化的 GitHub 仓库。7 天内未跟进的 issue 将会被自动关闭。

@jiangdexiao
Copy link
Author

jiangdexiao commented Aug 16, 2019

Hello @jiangdexiao. Please provide a online reproduction by forking this link https://u.ant.design/codesandbox-repro or a minimal GitHub repository. Issues labeled by Need Reproduce will be closed if no activities in 7 days.

你好 @jiangdexiao, 我们需要你提供一个在线的重现实例以便于我们帮你排查问题。你可以通过点击 此处 创建一个 codesandbox 或者提供一个最小化的 GitHub 仓库。7 天内未跟进的 issue 将会被自动关闭。

我创建了codesandbox了,codesandbox的控制台看不到错误,要chrome控制台可以看到
https://codesandbox.io/s/antd-reproduction-template-vz6lj,

@ant-design-bot
Copy link
Contributor

This issue is closed because it has been marked as Need Reproduce, but has not had recent activity.
If you can provide a reproduce, feel free to ping anyone of our maintainers to reopen this issue.
Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤔 Need Reproduce We cannot reproduce your problem
Projects
None yet
Development

No branches or pull requests

3 participants