QMUI_iOS icon indicating copy to clipboard operation
QMUI_iOS copied to clipboard

QMUICellHeightKeyCache 组件搭配 estimatedRowHeight 使用时,刷新row或者是section时,会跳动。

Open LYluyu opened this issue 5 years ago • 4 comments

QMUICellHeightKeyCache 组件搭配 estimatedRowHeight 使用时,刷新row或者是section时,会乱跳。请问有什么办法让他不跳来跳去呢。

LYluyu avatar Jun 15 '20 08:06 LYluyu

试试 [self.tableView reloadData]

MoLice avatar Jun 15 '20 08:06 MoLice

也会,只是没有刷新单个那么严重。

LYluyu avatar Jun 15 '20 08:06 LYluyu

在 QDCellHeightKeyCacheViewController handleRightBarButtonItem 里用 reloadData 测试没有发现你说的问题。

MoLice avatar Jun 15 '20 08:06 MoLice

image

我测试的是动态加载,给一组动态添加几条数据就出现了。

LYluyu avatar Jun 15 '20 10:06 LYluyu