Re: keyboard buffer in Firefox

Mounir Lamouri <[email protected]> Wed, 18 Aug 2010 06:27:06 +0200
Newsgroups gmane.comp.mozilla.devel.dom
Message-ID <[email protected]>
On 08/18/2010 05:27 AM, 小谢 wrote:
> Hi
> 
> When I press a key and don't release it immediately, it takes about
> half a second for Firefox before launching a series of keypress
> events. Why the pause? Why isn't the consecutive keypress events
> triggered immediately? Does Firefox have a keyboard buffer kind of
> thing inside?

Hi,

I think your issue is not related to DOM. The key repetition should
behave exactly the way you have described it: there is a timeout before
considering the keypress as a key repetition instead of a simple long
keypress. This timeout is probably a system setting and not related to
Firefox.

By the way, why do you need a continuous flow of keypress events?

--
Mounir
_______________________________________________
dev-tech-dom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-dom