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

Fix evt.keyCode usage on IE6,7 #39

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Fix evt.keyCode usage on IE6,7 #39

wants to merge 3 commits into from

Conversation

fdaugan
Copy link
Contributor

@fdaugan fdaugan commented Mar 27, 2014

On IE7- keyCode property is does not correspond to the key code.
The fixed issue is relevant on IE7. The 't' key, keyCode on IE7 is equal to 116, so is mapped to F5 key.
So, using {999} patern allows digit and 't' key since isSpecialKey(key) return true.

On IE7- keyCode property is does not correspond to the key code.
The fixed issue is relevant on IE7. The 't' key, keyCode on IE7 is equal to 116, so is mapped to F5 key.
So, using {999} patern allows digit and 't' key since isSpecialKey(key) return true.
@jaridmargolin
Copy link
Owner

I am in the midst (about 90% complete) of implementing automated cross browser testing using sauce labs.This will fix the issue with your failing tests, as well as confirm that this change does not effect other various browsers. Thank you for the PR.

fdaugan added 2 commits March 28, 2014 14:48
I found the issue for keyPress/keyDown.
http://www.west-wind.com/WestwindWebToolkit/samples/Ajax/html5andCss3/keycodechecker.aspx

For keypress event does not map the keycode as keydown event.
Why are there 2 key event managements?

Any way, I've tested this PR on IE7, FF, Chrome and IE11.
@jaridmargolin
Copy link
Owner

Some fairly major changes have been pushed. Can you confirm this is still an issue?

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