提交 1ec559de 编写于 作者: Q qiang

fix: 解决iOS13隐藏键盘时输入框无法失去焦点的问题

上级 e4f917cc
......@@ -42,8 +42,8 @@ onMethod('onKeyboardHeightChange', res => {
hideKeyboardTimeout = null
}
} else {
// 仅安卓收起键盘时通知view层失去焦点
if (isAndroid) {
// 安卓/iOS13收起键盘时通知view层失去焦点
if (isAndroid || parseInt(plus.os.version) >= 13) {
hideKeyboardTimeout = setTimeout(function () {
hideKeyboardTimeout = null
var pageId = getCurrentPageId()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册