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(key-press): mac issue keyup not triggered #3306

Merged
merged 3 commits into from
Aug 8, 2023
Merged

Conversation

moklick
Copy link
Member

@moklick moklick commented Aug 8, 2023

No description provided.

VictorWinberg and others added 3 commits April 5, 2023 12:54
### Issue
When pressing incorrect keys (according to the given keys to watch), when letting go of all keys some keys will stay as they are still pressed, hence making the `isMatchingKey` faulty and not trigger.

### Reason
See https://stackoverflow.com/questions/27380018/when-cmd-key-is-kept-pressed-keyup-is-not-triggered-for-any-other-key

### Solution
When retrieving an up-event for Meta key, remove all pressed keys.
@moklick moklick merged commit f4921b2 into next-release Aug 8, 2023
@moklick moklick deleted the patch-1 branch August 8, 2023 10:38
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.

None yet

2 participants