TF-2191 Fix keyboard disappear when switch focus from subject to body in composer android

(cherry picked from commit 880c7f1ae9e96c5b3dedaca01bf3736e7dd869d4)
This commit is contained in:
dab246
2023-10-10 15:14:00 +07:00
committed by Dat H. Pham
parent f7ff075f82
commit 6095959181
6 changed files with 55 additions and 37 deletions
@@ -7,6 +7,7 @@ class TextFieldBuilder extends StatefulWidget {
final ValueChanged<String>? onTextChange;
final ValueChanged<String>? onTextSubmitted;
final VoidCallback? onTap;
final TapRegionCallback? onTapOutside;
final TextStyle? textStyle;
final TextInputAction? textInputAction;
final InputDecoration? decoration;
@@ -45,6 +46,7 @@ class TextFieldBuilder extends StatefulWidget {
this.keyboardAppearance,
this.mouseCursor,
this.onTap,
this.onTapOutside,
this.onTextChange,
this.onTextSubmitted,
});
@@ -102,6 +104,7 @@ class _TextFieldBuilderState extends State<TextFieldBuilder> {
},
onSubmitted: widget.onTextSubmitted,
onTap: widget.onTap,
onTapOutside: widget.onTapOutside,
);
}