当页面多个输入框,直接从一个输入框点击另一个输入框时,页面会闪动,且input会被键盘遮挡。
解决方案
var isIos=this.isIos();
if(isIos){
FastClick.attach(document.getElementById(“appointment”));//取消苹果手机延迟click事件
document.body.addEventListener(‘focusin’, (event) => {
this.KaTeX parse error: Expected 'EOF', got '}' at position 188: … }̲); …nextTick(()=>{
//let vConsole=new VConsole();
document.body.scrollIntoView(true);
})
});