Small improvements on Hotkey class
Reported by Tjoekbezoer van Damme | July 21st, 2008 @ 08:03 AM | in 1.0
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
Comments and changes to this ticket
-
Nathan L Smith May 20th, 2009 @ 07:11 PM
- Tag changed from firefox, hotkey, ie, improvement, safari to firefox, hotkey, ie, improvement, needs_docs, safari
- State changed from unconfirmed to confirmed
-
Nathan L Smith May 30th, 2009 @ 04:07 PM
This has been added (though with slightly different defaults than the attached version). Still needs docs.
-
Nathan L Smith May 30th, 2009 @ 05:49 PM
- State changed from confirmed to resolved
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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
NOTE: Please do not open tickets here. If you have an issue, please open it on http://github.com/syntacticx/livepipe-ui/issues/
High quality widgets and controls for web 2.0 applications built using the Prototype JavaScript Framework. Each control is well tested, highly extensible, fully documented and degrades gracefully for non JavaScript enabled browsers where possible. MIT licensed and actively maintained.