Skip to content

Modifiers reset issue #54

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

Merged
merged 1 commit into from
Feb 13, 2013
Merged

Modifiers reset issue #54

merged 1 commit into from
Feb 13, 2013

Conversation

clvrobj
Copy link
Contributor

@clvrobj clvrobj commented Sep 9, 2012

All the modifier keys are reset when page get focus, then if you keep one of the modifier key down, but unfortunately it is ignored. (refer to #36)
This change is using the event.[ctrlKey, altKey, shiftKey, metaKey] to check the modifiers key and can pass the tests.
But don't know if any side effect here, please help to check, thanks.

@igstan
Copy link

igstan commented Feb 12, 2013

I encountered the same issue and this patch is apparently fixing it. I'm wondering why this pull request hasn't been accepted yet. Thanks for working on this @clvrobj.

@crittermike
Copy link

Agreed, I ended up moving off of Keymaster and onto Mousetrap because of this great library not getting any maintenance nowadays.

madrobby added a commit that referenced this pull request Feb 13, 2013
@madrobby madrobby merged commit 64fc7e5 into madrobby:master Feb 13, 2013
@igstan
Copy link

igstan commented Feb 13, 2013

Unfortunately, Mousetrap doesn't provide scopes (yet). And between creating a plugin to add support for scopes to Mousetrap and just applying @clvrobj's patch in a fork of keymaster, I chose the latter. Later I might migrate, but I'm OK for the moment.

Ah, it's just been merged. Cool, no need to maintain a fork!

@madrobby
Copy link
Owner

@igstan it's good to bump stuff from time to time to remind me! :)

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.

4 participants