onKeyPress event not fired when typing accents
Bug #58693 reported by
Vojtěch Smejkal
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mozilla Firefox |
Expired
|
Medium
|
|||
firefox (Ubuntu) |
Triaged
|
Medium
|
Unassigned | ||
firefox-3.5 (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
Browser javascript does not detect certain pressed keys.
Reproduce:
Set any HTML object onkeypress attribute like for example this:
<textarea onkeypress=
If you press any key in this textarea, it shows you key code.
But if you want write ü or ä (German) in a way, that you press umlaut first and then letter,nothing happen.
It does not work with some other letters (áíéščřžě) and probably more.
It was tested in Opera, Firefox, Epiphany.
(in Opera you have to replace event.which by event.keyCode)
You can try it here: http://
Changed in firefox: | |
status: | Unknown → New |
Changed in firefox: | |
status: | New → Invalid |
Changed in firefox: | |
importance: | Unknown → Medium |
status: | Invalid → Expired |
affects: | firefox-3.0 (Ubuntu) → firefox (Ubuntu) |
Changed in firefox-3.5 (Ubuntu): | |
status: | Incomplete → Invalid |
To post a comment you must log in.
Browser javascript does not detect certain pressed keys.
Reproduce: "alert( event.which) ;"></textarea>
Set any HTML object onkeypress attribute like for example this:
<textarea onkeypress=
If you press any key in this textarea, it shows you key code.
But if you want write ü or ä (German) in a way, that you press umlaut first and then letter,
nothing happen. It does not work with some other letters (áíéščřžě) and probably more.
It was tested in Opera, Firefox, Epiphany.
(in Opera you have to replace event.which by event.keyCode)
You can try it here: http:// extender. ic.cz/keypress. html