mirror of
https://github.com/Iconica-Development/flutter_chat.git
synced 2025-05-18 18:33:49 +02:00
fix(message-send-buttons): prevent focus on hidden elements
This commit is contained in:
parent
52562746b6
commit
d2f000c8a7
1 changed files with 6 additions and 4 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue