From 1a682fa297768a91f28a99c5e9746b70086d4d93 Mon Sep 17 00:00:00 2001 From: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com> Date: Thu, 9 Sep 2021 13:47:11 -0700 Subject: [PATCH] Recompute row heights on coalesced updates --- ts/components/ConversationList.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/components/ConversationList.tsx b/ts/components/ConversationList.tsx index 09c91109a..1ad738b30 100644 --- a/ts/components/ConversationList.tsx +++ b/ts/components/ConversationList.tsx @@ -160,7 +160,7 @@ export const ConversationList: React.FC = ({ if (shouldRecomputeRowHeights && list) { list.recomputeRowHeights(); } - }, [shouldRecomputeRowHeights]); + }); const calculateRowHeight = useCallback( ({ index }: { index: number }): number => {