Added some iOS usability improvements (related to soft keys/buttons and annoying focus/zoom changes)
This commit is contained in:
parent
c55cd76c57
commit
97f8e87ca3
4 changed files with 186 additions and 173 deletions
|
|
@ -369,8 +369,12 @@ SerialPort8080.prototype.setBinding = function(sHTMLType, sBinding, control, sVa
|
|||
serial.receiveData(sValue);
|
||||
/*
|
||||
* Give focus back to the machine (since clicking the button takes focus away).
|
||||
*
|
||||
* if (serial.cmp) serial.cmp.updateFocus();
|
||||
*
|
||||
* iOS Usability Improvement: NOT calling updateFocus() keeps the soft keyboard down
|
||||
* (assuming it was already down).
|
||||
*/
|
||||
if (serial.cmp) serial.cmp.updateFocus();
|
||||
return true;
|
||||
};
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Reference in a new issue