Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: only prevent default on Ctrl key combo (#2558)
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 <!-- Required. See https://sourcegraph.com/docs/dev/background-information/testing_principles. --> 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
- Loading branch information