diff --git a/src/core/view/mixins/keyboard.js b/src/core/view/mixins/keyboard.js index a329d11ae33b186ec232d0bf79642e24200ece97..2129d1a2862fe10358281349321171e3bf46dd7a 100644 --- a/src/core/view/mixins/keyboard.js +++ b/src/core/view/mixins/keyboard.js @@ -138,10 +138,17 @@ export default { if (__PLATFORM__ === 'app-plus') { el.addEventListener('click', () => { - if (focus && keyboardHeight === 0) { + if (!this.disabled && focus && keyboardHeight === 0) { setSoftinputTemporary(this) } }) + if (!isAndroid && parseInt(osVersion) < 12) { + el.addEventListener('touchstart', () => { + if (!this.disabled && !focus) { + setSoftinputTemporary(this) + } + }) + } } const onKeyboardHide = () => {