From 8dcd771e78cb68f06fa6defec3044c0a4e23203d Mon Sep 17 00:00:00 2001 From: dab246 Date: Wed, 3 Apr 2024 08:30:51 +0700 Subject: [PATCH] TF-2717 Auto hide text input recipient when unfocus --- .../presentation/widgets/recipient_composer_widget.dart | 2 ++ pubspec.lock | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/features/composer/presentation/widgets/recipient_composer_widget.dart b/lib/features/composer/presentation/widgets/recipient_composer_widget.dart index 3d82574d9..030ca52b5 100644 --- a/lib/features/composer/presentation/widgets/recipient_composer_widget.dart +++ b/lib/features/composer/presentation/widgets/recipient_composer_widget.dart @@ -177,6 +177,7 @@ class _RecipientComposerWidgetState extends State { minTextFieldWidth: RecipientComposerWidgetStyle.minTextFieldWidth, resetTextOnSubmitted: true, autoScrollToInput: false, + autoHideTextInputField: true, cursorColor: RecipientComposerWidgetStyle.cursorColor, suggestionsBoxElevation: RecipientComposerWidgetStyle.suggestionsBoxElevation, suggestionsBoxBackgroundColor: RecipientComposerWidgetStyle.suggestionsBoxBackgroundColor, @@ -255,6 +256,7 @@ class _RecipientComposerWidgetState extends State { minTextFieldWidth: RecipientComposerWidgetStyle.minTextFieldWidth, resetTextOnSubmitted: true, autoScrollToInput: false, + autoHideTextInputField: true, cursorColor: RecipientComposerWidgetStyle.cursorColor, suggestionsBoxElevation: RecipientComposerWidgetStyle.suggestionsBoxElevation, suggestionsBoxBackgroundColor: RecipientComposerWidgetStyle.suggestionsBoxBackgroundColor, diff --git a/pubspec.lock b/pubspec.lock index bc1ede15a..d5b834d63 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -1738,7 +1738,7 @@ packages: description: path: "." ref: master - resolved-ref: "0fb93e1ea5cff5b1065deeb46193d6fe0db7403e" + resolved-ref: f8f6470b9cf7d1d9b9b07752d9e09c558e9819a1 url: "https://github.com/dab246/super_tag_editor.git" source: git version: "0.2.0"