Remember message Read More state when scrolling in virtualized container
This commit is contained in:
parent
c5b5f2fe42
commit
edab7c7d83
12 changed files with 159 additions and 72 deletions
|
@ -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 || ''}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue