From 11167cb9b3d5e63b990d4462a8c7c82a107ddcb5 Mon Sep 17 00:00:00 2001 From: simoleo89 Date: Sun, 14 Jun 2026 21:01:46 +0200 Subject: [PATCH] feat(chat-input): move chat-style selector to the left of the input Match the reference layout: the chat-style picker now sits before the text field (left side) instead of after it. Adds left padding + a small gap so the trigger, input and emoji selector are evenly spaced. --- src/components/room/widgets/chat-input/ChatInputView.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/room/widgets/chat-input/ChatInputView.tsx b/src/components/room/widgets/chat-input/ChatInputView.tsx index 1edcfe5..5ab1334 100644 --- a/src/components/room/widgets/chat-input/ChatInputView.tsx +++ b/src/components/room/widgets/chat-input/ChatInputView.tsx @@ -313,7 +313,7 @@ export const ChatInputView: FC<{}> = props => return ( createPortal( -
+
{ commandSelectorVisible && = props => onSelect={ mention.apply } onHover={ mention.setSelectedIndex } /> } +
{ !floodBlocked && updateChatInput(event.target.value) } onMouseDown={ event => setInputFocus() } /> } @@ -338,7 +339,6 @@ export const ChatInputView: FC<{}> = props => { LocalizeText('chat.input.alert.flood', [ 'time' ], [ floodBlockedSeconds.toString() ]) } }
-
, document.getElementById('toolbar-chat-input-container')) ); };