例如在使用Material UI弹出框向下滚动时如何实现加载下50个项目的想法?当它到达滚动条的底部时,我想加载下50个项目。 如何访问Popover组件中的scrollTop和scrollBottom? 顺便说一下,我正在使用Reactjs。
<Popover
onScroll={(e) => { this.handleScroll(e) }}>
<MenuList>
<MenuItem>Item 1</MenuItem>
<MenuItem>Item 2</MenuItem>
</MenuList>
</Popover>