ant-design Enable Horizontal Scroll for TreeSelect

esbemjvw  于 3个月前  发布在  其他
关注(0)|答案(6)|浏览(65)

What problem does this feature solve?

Currently the content becomes invisible for TreeSelect of limited width but large nested tree.

What does the proposed API look like?

Enable horizontal scroll for TreeSelect by default. It should be compatible with infinite scroll which mainly optimizes vertical loading.

rkue9o1l

rkue9o1l1#

ran into the same problem :(

mccptt67

mccptt673#

I'm having the same issue on Tree component. Is there any solution?

jecbmhm3

jecbmhm34#

It seems that you have to write a small component by yourself.

5gfr0r5j

5gfr0r5j5#

@afc163 either write a proper Virtual lib that handles both horizontal and vertical scrolling or atleast give the deprecated feasibility to implement our own such as

<Tree>
    <TreeNode />
    <TreeNode />
    ...
</Tree>
p5cysglq

p5cysglq6#

+1

Using virtual={false} as workaround now.

相关问题