mirror of
https://github.com/keymanapp/keyman.git
synced 2026-10-28 00:37:53 +00:00
Merge pull request #5377 from keymanapp/feat/android/cherry-pick/5258-hide-textarea-for-perf
feat(android): hide textarea for perf 🍒
This commit is contained in:
commit
bcdf1975f7
1 changed files with 3 additions and 5 deletions
|
|
@ -41,7 +41,7 @@
|
|||
ta.readOnly = false;
|
||||
|
||||
// Tell KMW the default banner height to use
|
||||
com.keyman.osk.Banner.DEFAULT_HEIGHT =
|
||||
com.keyman.osk.Banner.DEFAULT_HEIGHT =
|
||||
Math.ceil(window.jsInterface.getDefaultBannerHeight() / window.devicePixelRatio);
|
||||
|
||||
kmw.addEventListener('keyboardloaded', setIsChiral);
|
||||
|
|
@ -320,7 +320,7 @@
|
|||
|
||||
function executePopupKey(keyID, keyText) {
|
||||
var kmw=window['keyman'];
|
||||
|
||||
|
||||
// KMW only needs keyID to process the popup key. keyText merely logged to console
|
||||
//window.console.log('executePopupKey('+keyID+'); keyText: ' + keyText);
|
||||
kmw['executePopupKey'](keyID);
|
||||
|
|
@ -366,8 +366,6 @@
|
|||
</style>
|
||||
</head>
|
||||
<body class="kmw-embedded keyman-app">
|
||||
<center>
|
||||
<textarea id="ta" cols="1" rows="1" style="position:absolute; left:-500px; top:0px;"></textarea>
|
||||
</center>
|
||||
<textarea id="ta" cols="1" rows="1" style="display: none;"></textarea>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue