From faa4c369569a3d1e5b1a47aa7fedd046508e5d15 Mon Sep 17 00:00:00 2001 From: fufesou Date: Thu, 16 Nov 2023 23:08:09 +0800 Subject: [PATCH] fix, android_soft_keyboard_input, maybe flutter 3.13.* Signed-off-by: fufesou --- flutter/lib/mobile/pages/remote_page.dart | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/flutter/lib/mobile/pages/remote_page.dart b/flutter/lib/mobile/pages/remote_page.dart index 05bf433fe..485b6a2fd 100644 --- a/flutter/lib/mobile/pages/remote_page.dart +++ b/flutter/lib/mobile/pages/remote_page.dart @@ -448,7 +448,8 @@ class _RemotePageState extends State { height: 0, child: !_showEdit ? Container() - : TextFormField( + : Container( + child: TextFormField( textInputAction: TextInputAction.newline, autocorrect: false, enableSuggestions: false, @@ -459,7 +460,7 @@ class _RemotePageState extends State { // trick way to make backspace work always keyboardType: TextInputType.multiline, onChanged: handleSoftKeyboardInput, - ), + )), ), ]; if (showCursorPaint) {