mootools/mootools-core — Issue #2283: Safari fires keydown event every millisecond for esc key
Author: tysontate
Created: 2012-02-09 07:26:53+00:00
State: open

http://jsfiddle.net/NhMya/

(Bug is present in Safari 5.1.3 but not Firefox 9. I don't have access to any other browsers to test at the moment.)

If you press almost any character, the `keydown` and then `keyup` events are fired once each, as you would expect.

When you press the escape key in Safari 5.1.3, the `keydown` event is fired what appears to be once every single millisecond that the key was held down for and the `keyup` event is fired once.