We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent baf33af commit 7479205Copy full SHA for 7479205
web/src/components/SearchBar.tsx
@@ -13,7 +13,7 @@ const SearchBar = observer(() => {
13
14
useEffect(() => {
15
const handleGlobalShortcut = (event: KeyboardEvent) => {
16
- if ((event.metaKey || event.ctrlKey) && event.key.toLowerCase() === "k") {
+ if ((event.metaKey || event.ctrlKey) && event.key === "/") {
17
event.preventDefault();
18
inputRef.current?.focus();
19
}
0 commit comments