mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Remember message Read More state when scrolling in virtualized container
This commit is contained in:
@@ -131,6 +131,7 @@ export type PropsData = {
|
||||
conversationColor: ConversationColorType;
|
||||
customColor?: CustomColorType;
|
||||
conversationId: string;
|
||||
displayLimit?: number;
|
||||
text?: string;
|
||||
textPending?: boolean;
|
||||
isSticker?: boolean;
|
||||
@@ -216,6 +217,7 @@ export type PropsActions = {
|
||||
clearSelectedMessage: () => unknown;
|
||||
doubleCheckMissingQuoteReference: (messageId: string) => unknown;
|
||||
onHeightChange: () => unknown;
|
||||
messageExpanded: (id: string, displayLimit: number) => unknown;
|
||||
checkForAccount: (identifier: string) => unknown;
|
||||
|
||||
reactToMessage: (
|
||||
@@ -1229,7 +1231,10 @@ export class Message extends React.PureComponent<Props, State> {
|
||||
bodyRanges,
|
||||
deletedForEveryone,
|
||||
direction,
|
||||
displayLimit,
|
||||
i18n,
|
||||
id,
|
||||
messageExpanded,
|
||||
onHeightChange,
|
||||
openConversation,
|
||||
status,
|
||||
@@ -1263,7 +1268,10 @@ export class Message extends React.PureComponent<Props, State> {
|
||||
bodyRanges={bodyRanges}
|
||||
disableLinks={!this.areLinksEnabled()}
|
||||
direction={direction}
|
||||
displayLimit={displayLimit}
|
||||
i18n={i18n}
|
||||
id={id}
|
||||
messageExpanded={messageExpanded}
|
||||
openConversation={openConversation}
|
||||
onHeightChange={onHeightChange}
|
||||
text={contents || ''}
|
||||
|
||||
Reference in New Issue
Block a user