Commit 169a987e authored by linxin's avatar linxin

add

parent 9c9c875a
...@@ -189,7 +189,7 @@ if (u.indexOf('Android') > -1 || u.indexOf('Linux') > -1) { // 安卓手机 ...@@ -189,7 +189,7 @@ if (u.indexOf('Android') > -1 || u.indexOf('Linux') > -1) { // 安卓手机
if (document.activeElement.tagName === 'INPUT' || document.activeElement.tagName === 'TEXTAREA') { if (document.activeElement.tagName === 'INPUT' || document.activeElement.tagName === 'TEXTAREA') {
console.log('安卓触发', document.activeElement.tagName) console.log('安卓触发', document.activeElement.tagName)
window.setTimeout(function () { window.setTimeout(function () {
document.activeElement.scrollIntoView(true) document.activeElement.scrollIntoView(false)
}, 50) }, 50)
} }
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment