弯曲 - 滚动条到一个Horizo​​ntalList将组件的顶部改变位置 [英] Flex - Change position of scrollbar to the top of a HorizontalList component

查看:261
本文介绍了弯曲 - 滚动条到一个Horizo​​ntalList将组件的顶部改变位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

默认情况下,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.

这篇关于弯曲 - 滚动条到一个Horizo​​ntalList将组件的顶部改变位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆