Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Small improvements on Hotkey class

#14

Two things:
- The hotkey class is not 100% consistent throughout all browsers. In some browser, keydown only gets fired once. In others it gets fired repeatedly as long as the users keeps the key pressed. I wanted to be able to make a keypress only happen once, or let it keep firing as long as the key is pressed. This had to work the same in all browsers. - I wanted to be able to disable the bubbling of pressed key events (this is convenient for eg firefox with 'search as you type' enabled).

I improved the Hotkey class a bit to meet these two demands, hope it's useful

Reported by Tjoekbezoer van Damme · July 21st, 2008 @ 08:03 AM

State: resolved
Milestone: 1.0
Assigned to: Ryan Johnson Ryan Johnson

Activity

  1. Nathan L Smith
    Nathan L Smith
    • Tag changed from firefox, hotkey, ie, improvement, safari to firefox, hotkey, ie, improvement, needs_docs, safari
    • State changed from unconfirmed to confirmed

    May 20th, 2009 @ 07:11 PM

  2. Nathan L Smith
    Nathan L Smith

    This has been added (though with slightly different defaults than the attached version). Still needs docs.

    May 30th, 2009 @ 04:07 PM

  3. Nathan L Smith
    Nathan L Smith
    • State changed from confirmed to resolved

    May 30th, 2009 @ 05:49 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.