Ensure that message heights are always recomputed

This commit is contained in:
Fedor Indutny 2021-11-30 20:34:56 +01:00 committed by GitHub
parent 77924918df
commit 518ebc315e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 5 deletions

View file

@ -888,6 +888,7 @@ export function _conversationMessagesSelector(
loadCountdownStart,
items,
isNearBottom,
messageHeightChangeBaton: heightChangeMessageIds,
messageHeightChangeIndex:
isNumber(messageHeightChangeIndex) && messageHeightChangeIndex >= 0
? messageHeightChangeIndex