diff --git a/flutter_hbb/lib/remote_page.dart b/flutter_hbb/lib/remote_page.dart index cb18c99ef..42fbed149 100644 --- a/flutter_hbb/lib/remote_page.dart +++ b/flutter_hbb/lib/remote_page.dart @@ -141,6 +141,8 @@ class _RemotePageState extends State { FFI.inputKey(char); final brackets = '("[<{(“【《{'; if (brackets.indexOf(char) >= 0) { + SystemChannels.textInput.invokeMethod('TextInput.hide'); + setState(() => _showEdit = false); _timer?.cancel(); _timer = Timer(Duration(milliseconds: 30), () { openKeyboard();