Message: Hide quick reaction button when in select mode (#1715)

This commit is contained in:
Alexander Zinchuk 2022-02-20 13:39:18 +02:00
parent a22acab64a
commit 45db295c2f

View File

@ -346,7 +346,7 @@ const Message: FC<OwnProps & StateProps> = ({
));
const withCommentButton = threadInfo && !isInDocumentGroupNotLast && messageListType === 'thread' && !noComments;
const withQuickReactionButton = !IS_TOUCH_ENV && defaultReaction && !isInDocumentGroupNotLast;
const withQuickReactionButton = !IS_TOUCH_ENV && !isInSelectMode && defaultReaction && !isInDocumentGroupNotLast;
const selectMessage = useCallback((e?: React.MouseEvent<HTMLDivElement, MouseEvent>, groupedId?: string) => {
toggleMessageSelection({