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: only prevent default on Ctrl key combo #2558

Merged
merged 1 commit into from
Jan 4, 2024
Merged

fix: only prevent default on Ctrl key combo #2558

merged 1 commit into from
Jan 4, 2024

Conversation

abeatrix
Copy link
Contributor

@abeatrix abeatrix commented Jan 3, 2024

Close #2383

The previous check for Ctrl or AltGraph being pressed was too broad and prevented some default browser shortcuts from working properly, and created blockers for users on different keyboard layouts

This fixes it by checking specifically for Ctrl keys combo only.

Alt + C is still prevented.

Test plan

  1. Try using alt + key combos when focusing in input box - this should now work
  2. Try pressing alt + c when focusing in input box - this should open the command menu

@abeatrix abeatrix requested review from arafatkatze, a team and toolmantim January 3, 2024 20:11
@abeatrix abeatrix merged commit 60899dd into main Jan 4, 2024
15 checks passed
@abeatrix abeatrix deleted the bee/fix-alt branch January 4, 2024 00:08
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.

bug: Can not type @ to include files in chat
2 participants