ant-design Make tree focusable after click and add autofocus

yhqotfr8  于 4个月前  发布在  其他
关注(0)|答案(1)|浏览(94)

What problem does this feature solve?

It is not obvious that key navigation is possible in tree. If there are a lot of components you should press tab multiple times to access tree.
Also after clicking somewhere in tree, focus is lost and you should again press tab to access key navigation here.

What does the proposed API look like?

<Tree autofocus clickFocusable ... />

相关问题