弯曲 - 滚动条到一个Horizo​​ntalList将组件的顶部改变位置弯曲、组件、滚动条、位置

2023-09-08 12:52:53 作者:繁华落幕

默认情况下,Horizo​​ntalList将组件的水平滚动条会在底部。有没有办法重新定位,以便它在顶部?

By default, the Horizontal ScrollBar of a HorizontalList component will be at the bottom. Is there a way to reposition it so it is at the top?

只是为了清楚起见,我的意思不是使用移动或者scrollToIndex或horizo​​ntalScrollPosition的或相似的,但滚动元件的实际物理位置滚动位置。

Just for clarity, I do not mean moving the scroll position using either scrollToIndex or horizontalScrollPosition or similar, but the actual physical position of the scrollbar component.

任何建议将是非常美联社preciated!

Any suggestions would be very appreciated!

推荐答案

我前一阵子一直在寻找类似的东西我自己发现的这个帖子。我终于结束了解决我的问题,以另一种方式,所以没有使用这种解决办法,但它可能对你想要的东西。

I was looking for something similar myself a while ago and found this post. I eventually ended up solving my problem in another way, so didn't use that solution, however it might work for what you want.