Closed snow-sprite closed 1 year ago
有没有内置的监听滚动的事件?因为列表每个td单元都是动态更新的,一滚动就会动态刷新td单元格,造成页面卡顿。所以想在滚动时不做任何操作,停止滚动后开始渲染td单元格数据
添加一个监听滚动和停止滚动的事件
No response
solved.
<DynamicScroller ...... @scroll.native.passive="handleScroll" > <template v-slot="{ item, index, active }"> <DynamicScrollerItem ...... > </template> </DynamicScroller>
Clear and concise description of the problem
有没有内置的监听滚动的事件?因为列表每个td单元都是动态更新的,一滚动就会动态刷新td单元格,造成页面卡顿。所以想在滚动时不做任何操作,停止滚动后开始渲染td单元格数据
Suggested solution
添加一个监听滚动和停止滚动的事件
Alternative
No response
Additional context
No response
Validations