<input type="text" :focus="true">
- 发布:2023-10-17 10:26
- 更新:2023-10-17 14:07
- 阅读:188
产品分类: uniapp/App
PC开发环境操作系统: Windows
PC开发环境操作系统版本号: 21H2
HBuilderX类型: 正式
HBuilderX版本号: 3.8.4
手机系统: Android
手机系统版本号: Android 12
手机厂商: 小米
手机机型: M2007J17C
页面类型: vue
vue版本: vue2
打包方式: 云端
项目创建方式: HBuilderX
操作步骤:
预期结果:
弹出软键盘
弹出软键盘
实际结果:
未弹出,app崩溃
未弹出,app崩溃
bug描述:
进入页面,输入框聚焦掉起键盘卡死,app崩溃
java.lang.RuntimeException: Probable deadlock detected due to WebView API being called on incorrect thread while the UI thread is blocked. at FB0.c(Unknown Source:38) at com.android.webview.chromium.WebViewChromium.onCheckIsTextEditor(Unknown Source:26) at android.webkit.WebView.onCheckIsTextEditor(WebView.java:3108) at android.view.inputmethod.InputMethodManager.getStartInputFlags(InputMethodManager.java:2075) at android.view.inputmethod.InputMethodManager.startInputInner(InputMethodManager.java:1891) at android.view.inputmethod.InputMethodManager$DelegateImpl.startInput(InputMethodManager.java:595) at android.view.ImeFocusController.checkFocus(ImeFocusController.java:169) at android.view.inputmethod.InputMethodManager.checkFocus(InputMethodManager.java:2091) at android.view.inputmethod.InputMethodManager.showSoftInput(InputMethodManager.java:1630) at android.view.inputmethod.InputMethodManager.toggleSoftInput(InputMethodManager.java:1826) at io.dcloud.common.adapter.util.DeviceInfo$3.run(Unknown Source:6) at java.util.TimerThread.mainLoop(Timer.java:562) at java.util.TimerThread.run(Timer.java:512) Caused by: java.util.concurrent.TimeoutException at java.util.concurrent.FutureTask.get(FutureTask.java:206) at FB0.c(Unknown Source:21) ... 12 more
1 个回复
喜欢技术的前端 - QQ---445849201