Skip to content

Commit

Permalink
Recompute row heights on coalesced updates
Browse files Browse the repository at this point in the history
Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
  • Loading branch information
automated-signal and indutny-signal committed Sep 9, 2021
1 parent ff7ffe1 commit 3c6dfb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ts/components/ConversationList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export const ConversationList: React.FC<PropsType> = ({
if (shouldRecomputeRowHeights && list) {
list.recomputeRowHeights();
}
}, [shouldRecomputeRowHeights]);
});

const calculateRowHeight = useCallback(
({ index }: { index: number }): number => {
Expand Down

0 comments on commit 3c6dfb7

Please sign in to comment.