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

References for keys and meta key handling #51

Merged
merged 1 commit into from
Oct 17, 2023

Conversation

MarcusLongmuir
Copy link
Contributor

This PR uses references for keys to make it clear which keys are used and also changes the behaviour of the keydown listener to avoid calling preventDefault on meta keys (e.g. Cmd + Alt) and also all function keys.

What kind of change does your PR introduce? (check at least one)

  • Feature
  • Refactor

@TheCodeTherapy TheCodeTherapy merged commit 27643b0 into main Oct 17, 2023
5 checks passed
@MarcusLongmuir MarcusLongmuir deleted the feature/key-handling branch October 17, 2023 11:14
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