Recompute row heights on coalesced updates

This commit is contained in:
Fedor Indutny 2021-09-09 13:47:11 -07:00 committed by GitHub
parent dee900479f
commit 1a682fa297
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -160,7 +160,7 @@ export const ConversationList: React.FC<PropsType> = ({
if (shouldRecomputeRowHeights && list) {
list.recomputeRowHeights();
}
}, [shouldRecomputeRowHeights]);
});
const calculateRowHeight = useCallback(
({ index }: { index: number }): number => {