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

Update hotkey code #202

Merged
merged 2 commits into from
Sep 18, 2022
Merged

Update hotkey code #202

merged 2 commits into from
Sep 18, 2022

Conversation

AlexHalbesleben
Copy link
Owner

I actually will allow hotkeys to trigger if multiple keys are pressed. There's no reason for this not to happen (considering that modals don't launch when the user types into a field). A more elegant solution to the problem is to trigger hotkeys on keyup, not keydown. Keyup will not trigger when the user refreshes the page (as the page can't receive the event).

@AlexHalbesleben AlexHalbesleben merged commit 698b61a into main Sep 18, 2022
@AlexHalbesleben AlexHalbesleben deleted the 201-multiple-keys-hotkeys branch September 18, 2022 02:07
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.

Refreshing the page with a keyboard shortcut brings up the reminder modal
1 participant