fix(message-send-buttons): prevent focus on hidden elements

This commit is contained in:
Kiril Tijsma 2025-03-07 11:32:52 +01:00
parent 52562746b6
commit 5620aab19e

View file

@ -127,10 +127,12 @@ class ChatBottomInputSection extends HookWidget {
),
// this ensures that that there is space at the end of the
// textfield
suffixIcon: AbsorbPointer(
child: Opacity(
opacity: 0.0,
child: messageSendButtons,
suffixIcon: ExcludeFocus(
child: AbsorbPointer(
child: Opacity(
opacity: 0.0,
child: messageSendButtons,
),
),
),
hintText: options.translations.messagePlaceholder,