Message List: Fix scroll jumps in channels with comments
This commit is contained in:
parent
33c30667b2
commit
e86b0a00d6
@ -559,7 +559,7 @@ const MessageList: FC<OwnProps & StateProps & DispatchProps> = ({
|
||||
type,
|
||||
threadTopMessageId,
|
||||
threadFirstMessageId,
|
||||
Boolean(hasLinkedChat),
|
||||
hasLinkedChat,
|
||||
messageGroups ? type === 'scheduled' : false,
|
||||
!messageGroups || !shouldAnimateAppearanceRef.current,
|
||||
openHistoryCalendar,
|
||||
@ -585,7 +585,7 @@ function renderMessages(
|
||||
type: MessageListType,
|
||||
threadTopMessageId: number | undefined,
|
||||
threadFirstMessageId: number | undefined,
|
||||
hasLinkedChat: boolean,
|
||||
hasLinkedChat: boolean | undefined,
|
||||
isSchedule: boolean,
|
||||
noAppearanceAnimation: boolean,
|
||||
openHistoryCalendar: Function,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user