Changing the type of the keyboardinput element to textarea, fixes issue 356.

* The on-screen keyboard not closing when pressing Enter is more important than not having textsuggestions etc.
This commit is contained in:
samhed 2014-04-07 16:41:25 +02:00
parent 0bb6a8c50e
commit eeda79d3c3
1 changed files with 2 additions and 2 deletions

View File

@ -67,10 +67,10 @@
<!-- There is a problem with the "Enter"-key on Android in Chrome, <!-- There is a problem with the "Enter"-key on Android in Chrome,
when pressed the on screen keyboard is closed, this could be when pressed the on screen keyboard is closed, this could be
fixed if Chrome implemented the ime-mode style for example --> fixed if Chrome implemented the ime-mode style for example -->
<input type="password" id="keyboardinput" autocapitalize="off" <textarea id="keyboardinput" autocapitalize="off"
autocorrect="off" autocomplete="off" spellcheck="false" autocorrect="off" autocomplete="off" spellcheck="false"
mozactionhint="Enter" onsubmit="return false;" mozactionhint="Enter" onsubmit="return false;"
style="ime-mode: disabled;"> style="ime-mode: disabled;"></textarea>
<div id="noVNC_extra_keys"> <div id="noVNC_extra_keys">
<input type="image" alt="Extra keys" src="images/showextrakeys.png" <input type="image" alt="Extra keys" src="images/showextrakeys.png"
id="showExtraKeysButton" class="noVNC_status_button"> id="showExtraKeysButton" class="noVNC_status_button">