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

This commit is contained in:
Kiril Tijsma 2025-03-07 11:32:52 +01:00 committed by FlutterJoey
parent 52562746b6
commit d2f000c8a7

View file

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