AnitaTang / js-hotkeys

Automatically exported from code.google.com/p/js-hotkeys
0 stars 0 forks source link

"keypress" doesn't work #53

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Try using "keypress" instead of "keyup" or "keydown" in your code.

What is the expected output? What do you see instead?
Expect that it will execute function on keypress. Instead, it doesn't do
anything on keypress.

What version of the product are you using? On what operating system?
Most recent? Using Firefox on Windows Vista.

Please provide any additional information below.

Original issue reported on code.google.com by courtlandallen on 14 Apr 2009 at 8:43

GoogleCodeExporter commented 8 years ago
I have the same issue. I am testing using Firefox 3.0.8 in OSX Tiger, jQuery 
1.2.6
Unfortunately the keypress event is necessary for my project, so I will have to
rewrite my code to work without this plugin till it's updated.

Original comment by deesple...@gmail.com on 22 Apr 2009 at 7:34

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
KeyPress is not working well owe to the fact that keycodes varies between
key[down|up] and key press (lower and upper case). see example at
[http://afro.systems.googlepages.com/test-static-08.html Test #8]. This should 
be
solved in the next version

Original comment by Afro.Sys...@gmail.com on 3 May 2009 at 12:20

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Firefox 3.6.6 here, on Windows XP, jQuery 1.4.2, js-hotkeys 0.7.8

Same issue, except with certain keys it works fine. Namely 'RETURN' (enter 
key), I've tried it with 'a', and 'UP' so far.

Original comment by Rybad...@gmail.com on 16 Jul 2010 at 6:23

GoogleCodeExporter commented 8 years ago
keypress won't work with the directional keys; that's a javascript issue.

Original comment by T.Simon...@gmail.com on 15 Feb 2012 at 1:44