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组件的bug #13245

Liswi opened this issue Nov 22, 2018 · 6 comments

关于treeSelect组件的bug #13245

Liswi opened this issue Nov 22, 2018 · 6 comments


Copy link

@Liswi Liswi commented Nov 22, 2018

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





Reproduction link

Steps to reproduce

1.treeNodeFilterProp属性置为 true, loadData开启懒加载数据
2. 在输入框中搜索某个节点的值(必须是能匹配到的)

What is expected?


What is actually happening?

1.实际中,匹配到节点之后,组件会自动展开匹配到的节点,这会导致请求子节点加载数据(bug1 ??)

这个bug在我更新到 3.6.X 时出现,一直到 3.10.X还存在。3.4.2好像没有这个问题

Copy link

@ant-design-bot ant-design-bot commented Nov 22, 2018

Hello @Liswi. Please provide a online reproduction by forking this link Issues labeled by Need Reproduce will be closed if no activities in 7 days.

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

Copy link

@TristanDongMaster TristanDongMaster commented Nov 22, 2018

I also encounter the same bug: if I try to delete all data of the search input, the tree select will auto request the api of all the children node by recursion , so many many request, the browser crash !!!!! the how to resolve it????

Copy link

@zombieJ zombieJ commented Nov 22, 2018

@TristanDongMaster , could you help to provide an online reproduce?

Copy link

@TristanDongMaster TristanDongMaster commented Nov 22, 2018

we just want to achieve the search feature, but I found the bug, so I give up the search latest, I have to wait the bug to resolve....

Copy link

@exonuclease exonuclease commented Nov 22, 2018

@zombieJ I read the source code of rc-tree-select and find that this problem is caused by expanding all nodes when tree is in filter mode.Please read my PR of rc-tree-selec for more details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
6 participants