При клике на текст сообщения теперь он выделяется, а не уходит в ответ к сообщению

This commit is contained in:
RoyceDa
2026-02-21 22:25:06 +02:00
parent 1572f06ef4
commit fe418dabc9

View File

@@ -213,7 +213,7 @@ export function Message(props: MessageProps) {
userSelect: 'text',
fontSize: '13px',
color: messageStyle == MessageStyle.BUBBLES ? (computedTheme == 'light' ? (props.parent?.from_me ? 'white' : 'black') : 'white') : (computedTheme == 'light' ? 'black' : 'white')
}} ml={props.avatar_no_render ? 50 : undefined}>
}} ml={props.avatar_no_render ? 50 : undefined} onDoubleClick={(e) => e.stopPropagation()}>
<TextParser performanceEntityLimit={ENTITY_LIMITS_TO_PARSE_IN_MESSAGE} oversizeIfTextSmallerThan={1} text={props.message.trim()}></TextParser>
</Box>
</Flex>
@@ -302,7 +302,7 @@ export function Message(props: MessageProps) {
userSelect: 'text',
fontSize: '14px',
color: props.from_me ? 'white' : (computedTheme == 'light' ? 'black' : 'white')
}}>
}} onDoubleClick={(e) => e.stopPropagation()}>
<TextParser __reserved_2 performanceEntityLimit={ENTITY_LIMITS_TO_PARSE_IN_MESSAGE} oversizeIfTextSmallerThan={1} text={props.message.trim()}></TextParser>
</Box>
)}