react-component/tree

Horizontal scroll not working with virtualization

ashu-g opened this issue · 6 comments

When I enable virtualization, my auto horizontal scroll does not work. What I think might be the root cause is the 'rc-virtual-list' is listening to 'wheel' event which is not handling horizontal scroll. Even if I move my touchpad, left/right, it scrolls up and down only.
Anyone faced this issue? Quick help appreciated!

Any ideas here?

checking on this again please!

yes, It doesn't support sub-features, and I think it can be done

这里有什么联想吗?

Did you solve it?

The only possible now for both scrollable by adding custom style, and without itemHeight.

height={300}
virtual={true}
style={{width: '200px'}}

@agusmakmun do you have a working example? When itemHeight prop is not defined it doesn't virtualize the node list.