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

Can the new diectoryTree be unselected as the normal tree ? #11302

Closed
1 task done
immitut opened this issue Jul 17, 2018 · 1 comment
Closed
1 task done

Can the new diectoryTree be unselected as the normal tree ? #11302

immitut opened this issue Jul 17, 2018 · 1 comment
Assignees

Comments

@immitut
Copy link

immitut commented Jul 17, 2018

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

What problem does this feature solve?

Now the treeNode of the directoryTree can not be cancelled once one is selected, only can select other one to change its status, it is unreasonable.

What does the proposed API look like?

I hope it can be used like normal tree with select acitons.

@zombieJ
Copy link
Member

zombieJ commented Jul 18, 2018

You can control the selectedKeys for the purpose : https://codesandbox.io/s/w6n016kr5k

@zombieJ zombieJ closed this as completed Jul 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants