mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-27 13:40:47 +00:00
Keep reaction poppers visible at all times
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// Copyright 2019-2021 Signal Messenger, LLC
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
import React from 'react';
|
||||
import React, { RefObject } from 'react';
|
||||
import { omit } from 'lodash';
|
||||
|
||||
import { LocalizerType, ThemeType } from '../../types/Util';
|
||||
@@ -153,6 +153,7 @@ export type TimelineItemType =
|
||||
| VerificationNotificationType;
|
||||
|
||||
type PropsLocalType = {
|
||||
containerElementRef: RefObject<HTMLElement>;
|
||||
conversationId: string;
|
||||
item?: TimelineItemType;
|
||||
id: string;
|
||||
@@ -179,6 +180,7 @@ export type PropsType = PropsLocalType &
|
||||
export class TimelineItem extends React.PureComponent<PropsType> {
|
||||
public render(): JSX.Element | null {
|
||||
const {
|
||||
containerElementRef,
|
||||
conversationId,
|
||||
id,
|
||||
isSelected,
|
||||
@@ -204,6 +206,7 @@ export class TimelineItem extends React.PureComponent<PropsType> {
|
||||
<Message
|
||||
{...omit(this.props, ['item'])}
|
||||
{...item.data}
|
||||
containerElementRef={containerElementRef}
|
||||
i18n={i18n}
|
||||
theme={theme}
|
||||
renderingContext="conversation/TimelineItem"
|
||||
|
||||
Reference in New Issue
Block a user