TF-1573: add removeFocusAllInputEditorHeader function
(cherry picked from commit f6ba2c7565f41dc58b354917c85efb98ff4aae24)
This commit is contained in:
@@ -1516,18 +1516,17 @@ class ComposerController extends BaseController {
|
||||
if (Platform.isAndroid) {
|
||||
_collapseAllRecipient();
|
||||
_autoCreateEmailTag();
|
||||
_removeFocusAllInputEditorHeader();
|
||||
}
|
||||
}
|
||||
|
||||
void _removeFocusAllInputEditorHeader() {
|
||||
void removeFocusAllInputEditorHeader() {
|
||||
subjectEmailInputFocusNode?.unfocus();
|
||||
toAddressFocusNode?.unfocus();
|
||||
ccAddressFocusNode?.unfocus();
|
||||
bccAddressFocusNode?.unfocus();
|
||||
}
|
||||
void _onChangeCursorOnMobile(List<int>? coordinates) {
|
||||
|
||||
void _onChangeCursorOnMobile(List<int>? coordinates) {
|
||||
final headerEditorMobileWidgetRenderObject = headerEditorMobileWidgetKey.currentContext?.findRenderObject();
|
||||
|
||||
if (headerEditorMobileWidgetRenderObject is RenderBox?) {
|
||||
|
||||
Reference in New Issue
Block a user