关于sencha touch中给文本添加焦点无效的解决方案
目前的解决方案是给你的执行代码加上一个timeout延迟100ms+
setTimeout(function(){ SoftKeyboard.isShowing(function(isShowing){ textfields[0].focus(); if(!isShowing) { SoftKeyboard.show(); container.hide(); } }, function(){ console.log('fail'); }); },800);
浙公网安备 33010602011771号