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:
@@ -11,6 +11,7 @@ class SubjectComposerWidget extends StatelessWidget {
|
||||
final ValueChanged<String>? onTextChange;
|
||||
final EdgeInsetsGeometry? margin;
|
||||
final EdgeInsetsGeometry? padding;
|
||||
final TapRegionCallback? onTapOutside;
|
||||
|
||||
const SubjectComposerWidget({
|
||||
super.key,
|
||||
@@ -19,6 +20,7 @@ class SubjectComposerWidget extends StatelessWidget {
|
||||
required this.onTextChange,
|
||||
this.margin,
|
||||
this.padding,
|
||||
this.onTapOutside,
|
||||
});
|
||||
|
||||
@override
|
||||
@@ -50,6 +52,7 @@ class SubjectComposerWidget extends StatelessWidget {
|
||||
textDirection: DirectionUtils.getDirectionByLanguage(context),
|
||||
textStyle: SubjectComposerWidgetStyle.inputTextStyle,
|
||||
controller: textController,
|
||||
onTapOutside: onTapOutside,
|
||||
)
|
||||
)
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user