Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bind 'onKeyPress' during keydown instead of keyup. #1455

Merged
merged 1 commit into from
Aug 27, 2014

Conversation

songpete
Copy link
Contributor

Binding during keydown will be more effective at preventing certain default behavior like moving the page down as these events may happen prior to keyup. Addresses #1452

Binding during keydown will be more effective at preventing certain default behavior like moving the page down as these events may happen prior to keyup. Addresses videojs#1452
@heff
Copy link
Member

heff commented Aug 27, 2014

Very nice, thanks!

@heff heff merged commit 58c081f into videojs:master Aug 27, 2014
heff added a commit that referenced this pull request Aug 27, 2014
@songpete songpete deleted the patch-1 branch September 8, 2014 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants