GUAC-685: Ignore keycode 229, sent by some browsers during IME composition (see: http://lists.w3.org/Archives/Public/www-dom/2010JulSep/att-0182/keyCode-spec.html).
This commit is contained in:
1 parent
5c29d04149
commit
fb610813bf
1 file changed
+5
@@ -510,6 +510,11 @@ Guacamole.Keyboard = function(element) {
|
|||||||
// Fix modifier states
|
// Fix modifier states
|
||||||
update_modifier_state(e);
|
update_modifier_state(e);
|
||||||
|
|
||||||
|
// Ignore (but do not prevent) the "composition" keycode sent by some
|
||||||
|
// browsers when an IME is in use (see: http://lists.w3.org/Archives/Public/www-dom/2010JulSep/att-0182/keyCode-spec.html)
|
||||||
|
if (keynum === 229)
|
||||||
|
return;
|
||||||
|
|
||||||
// Try to get keysym from keycode
|
// Try to get keysym from keycode
|
||||||
var keysym = keysym_from_keycode(keynum, location);
|
var keysym = keysym_from_keycode(keynum, location);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user