Mr.Four

Results 2 comments of Mr.Four

I have the same problem. The row height in the List changes in real time, and there is a lot of data. This can happen when a lot of data...

> 您好,按理来说在react中更改state后,组件就会重新加载,但是虚拟列表不会,只有页面发生改变的时候,比如说页面滚动,页面放大和缩小,组件才会重新加载,这是怎么回事呢? 是不是数据更新了,你没有调用 forceUpdateGrid()方法,画面没有再次渲染啊!?或者使用CellMeasurer没有clearAll()重新加载缓存啊!?