Timeline: Only call setIsNearBottom if value has changed
This commit is contained in:
parent
ff15a94f2f
commit
8fe73fa884
2 changed files with 6 additions and 1 deletions
|
@ -351,6 +351,7 @@ export function _conversationMessagesSelector(
|
|||
const {
|
||||
heightChangeMessageIds,
|
||||
isLoadingMessages,
|
||||
isNearBottom,
|
||||
loadCountdownStart,
|
||||
messageIds,
|
||||
metrics,
|
||||
|
@ -393,6 +394,7 @@ export function _conversationMessagesSelector(
|
|||
isLoadingMessages,
|
||||
loadCountdownStart,
|
||||
items,
|
||||
isNearBottom,
|
||||
messageHeightChangeIndex:
|
||||
isNumber(messageHeightChangeIndex) && messageHeightChangeIndex >= 0
|
||||
? messageHeightChangeIndex
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue