提交 7b3d634b 编写于 作者: Q qiang

fix: App 端修复 iOS12 以下 :adjust-position="false" 不生效的问题

上级 e223d41c
......@@ -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 = () => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册