From 05f26d55b5ae6d663f2ecf16c0b2f0d478b5627e Mon Sep 17 00:00:00 2001 From: "pengfei.zhou" Date: Tue, 19 Nov 2019 14:15:00 +0800 Subject: [PATCH] feat:fix reuse cell relayout --- iOS/Pod/Classes/Shader/DoricListNode.m | 1 + 1 file changed, 1 insertion(+) diff --git a/iOS/Pod/Classes/Shader/DoricListNode.m b/iOS/Pod/Classes/Shader/DoricListNode.m index d2f99259..0986968a 100644 --- a/iOS/Pod/Classes/Shader/DoricListNode.m +++ b/iOS/Pod/Classes/Shader/DoricListNode.m @@ -92,6 +92,7 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N DoricListItemNode *node = cell.doricListItemNode; node.viewId = model[@"id"]; [node blend:props]; + [node.view setNeedsLayout]; CGSize size = [node.view sizeThatFits:CGSizeMake(cell.width, cell.height)]; [self callItem:position height:size.height]; return cell;