nutui-react icon indicating copy to clipboard operation
nutui-react copied to clipboard

[FR]: InfiniteLoading 指定滚动位置

Open WweiweiSmile opened this issue 2 years ago • 3 comments

这个功能解决了什么问题?

在InfiniteLoading在滚动到底部时,我希望能够点击BackTop后,InfiniteLoading组件能够快速回到顶部

你期望的组件设计是怎样的?

抛出 ScrollView的 ScrollTop属性,优化onScroll方法,使其能够传递ScrollView的ScrollTop值

WweiweiSmile avatar Jan 09 '24 08:01 WweiweiSmile

Perhaps,try to call the Taro.pageScrollTo(0)

cdx111 avatar Jan 19 '24 10:01 cdx111

Perhaps,try to call the Taro.pageScrollTo(0)

i tried , it's can't

WweiweiSmile avatar Jan 20 '24 05:01 WweiweiSmile

Perhaps,try to call the Taro.pageScrollTo(0)

i tried , it's can't

i'm ok to call that why?

cdx111 avatar Jan 22 '24 03:01 cdx111