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,
|
type,
|
||||||
threadTopMessageId,
|
threadTopMessageId,
|
||||||
threadFirstMessageId,
|
threadFirstMessageId,
|
||||||
Boolean(hasLinkedChat),
|
hasLinkedChat,
|
||||||
messageGroups ? type === 'scheduled' : false,
|
messageGroups ? type === 'scheduled' : false,
|
||||||
!messageGroups || !shouldAnimateAppearanceRef.current,
|
!messageGroups || !shouldAnimateAppearanceRef.current,
|
||||||
openHistoryCalendar,
|
openHistoryCalendar,
|
||||||
@ -585,7 +585,7 @@ function renderMessages(
|
|||||||
type: MessageListType,
|
type: MessageListType,
|
||||||
threadTopMessageId: number | undefined,
|
threadTopMessageId: number | undefined,
|
||||||
threadFirstMessageId: number | undefined,
|
threadFirstMessageId: number | undefined,
|
||||||
hasLinkedChat: boolean,
|
hasLinkedChat: boolean | undefined,
|
||||||
isSchedule: boolean,
|
isSchedule: boolean,
|
||||||
noAppearanceAnimation: boolean,
|
noAppearanceAnimation: boolean,
|
||||||
openHistoryCalendar: Function,
|
openHistoryCalendar: Function,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user