TF-74 Fix bug keep only one input focus on composer at one time

This commit is contained in:
dab246
2021-09-10 14:27:17 +07:00
committed by Dat H. Pham
parent bb264d9a08
commit d8e9fff15f
2 changed files with 7 additions and 6 deletions
@@ -141,13 +141,13 @@ class ComposerView extends GetWidget<ComposerController> {
initialText: controller.getEmailActionType() != EmailActionType.compose
? controller.getBodyEmailQuotedAsHtml(context, htmlMessagePurifier)
: null,
disableHorizontalScroll: false,
supportZoom: true,
horizontalScrollBarEnabled: true,
shouldEnsureVisible: true),
otherOptions: OtherOptions(
decoration: BoxDecoration(),
height: 600)
otherOptions: OtherOptions(decoration: BoxDecoration()),
callbacks: Callbacks(
onFocus: () {
FocusScope.of(context).unfocus();
}
),
));
}
}