Commit de8edde4 authored by samhed's avatar samhed

Attempt to change the behavior of the enter/go-key on touch devices, we want it to be Enter.

* This code works in Firefox on Android and on Chrome and Safari on iOS.
* It does not work in Chrome on Android, the enter key is labled "Go" and closes the on screen keyboard when pressed.
parent 74d3d75a
......@@ -64,8 +64,13 @@
<input type="image" alt="Keyboard" src="images/keyboard.png"
id="showKeyboard" class="noVNC_status_button"
value="Keyboard" title="Show Keyboard"/>
<!-- There is a problem with the "Enter"-key on Android in Chrome,
when pressed the on screen keyboard is closed, this could be
fixed if Chrome implemented the ime-mode style for example -->
<input type="password" id="keyboardinput" autocapitalize="off"
autocorrect="off" autocomplete="off" spellcheck="false">
autocorrect="off" autocomplete="off" spellcheck="false"
mozactionhint="Enter" onsubmit="return false;"
style="ime-mode: disabled;">
<div id="noVNC_extra_keys">
<input type="image" alt="Extra keys" src="images/showextrakeys.png"
id="showExtraKeysButton" class="noVNC_status_button">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment