We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Table
当使用虚拟滚动时,表格翻页不会重置滚动条,导致如果第一页有100条数据,用户滚动到90,但是第二页只有10条数据,滚动条还在下面,滚不上去。
如果使用 onBodyScroll = (start) => { this.setState({ scrollToRow: start }) }这种方式设置滚动位置,就会出现当用户一直滚动的时候,组件一直render的问题,性能问题显而易见。
希望能提供一个方法,让滚动条回到相应的位置,且不需要一直监听滚动事件。
The text was updated successfully, but these errors were encountered:
youluna
No branches or pull requests
Component
Table
Steps to reproduce
当使用虚拟滚动时,表格翻页不会重置滚动条,导致如果第一页有100条数据,用户滚动到90,但是第二页只有10条数据,滚动条还在下面,滚不上去。
如果使用 onBodyScroll = (start) => {
this.setState({
scrollToRow: start
})
}这种方式设置滚动位置,就会出现当用户一直滚动的时候,组件一直render的问题,性能问题显而易见。
希望能提供一个方法,让滚动条回到相应的位置,且不需要一直监听滚动事件。
The text was updated successfully, but these errors were encountered: