From 573a407fb32e965587a3d1578cd8351de68f57a3 Mon Sep 17 00:00:00 2001 From: huangkai Date: Mon, 15 Jan 2024 09:40:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20TextField=20=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E9=80=9A=E8=BF=87=E8=BD=AF=E9=94=AE=E7=9B=98=E9=9A=90?= =?UTF-8?q?=E8=97=8F=E6=8C=89=E9=92=AE=E9=9A=90=E8=97=8F=E8=BD=AF=E9=94=AE?= =?UTF-8?q?=E7=9B=98=E5=90=8E=EF=BC=8C=E5=8D=95=E5=87=BB=E8=BE=93=E5=85=A5?= =?UTF-8?q?=E6=A1=86=E6=97=A0=E6=B3=95=E5=86=8D=E6=AC=A1=E5=BC=B9=E5=87=BA?= =?UTF-8?q?=E8=BD=AF=E9=94=AE=E7=9B=98=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: huangkai --- .../flutter/src/main/ets/plugin/editing/TextInputPlugin.ets | 1 + 1 file changed, 1 insertion(+) diff --git a/shell/platform/ohos/flutter_embedding/flutter/src/main/ets/plugin/editing/TextInputPlugin.ets b/shell/platform/ohos/flutter_embedding/flutter/src/main/ets/plugin/editing/TextInputPlugin.ets index 375017fe0d..ca7f22a339 100644 --- a/shell/platform/ohos/flutter_embedding/flutter/src/main/ets/plugin/editing/TextInputPlugin.ets +++ b/shell/platform/ohos/flutter_embedding/flutter/src/main/ets/plugin/editing/TextInputPlugin.ets @@ -229,6 +229,7 @@ class TextInputMethodHandlerImpl implements TextInputMethodHandler { try { this.inputMethodController.on('sendKeyboardStatus', (state) => { if(state == KeyboardStatus.HIDE) { + this.keyboardStatus = KeyboardStatus.HIDE; this.plugin.textInputChannel.onConnectionClosed(this.inputTarget.id); } }) -- Gitee