diff --git a/resources/scripts/components/dashboard/search/SearchContainer.tsx b/resources/scripts/components/dashboard/search/SearchContainer.tsx index d552d2c1d..36c3ae871 100644 --- a/resources/scripts/components/dashboard/search/SearchContainer.tsx +++ b/resources/scripts/components/dashboard/search/SearchContainer.tsx @@ -9,7 +9,7 @@ export default () => { useEventListener('keydown', (e: KeyboardEvent) => { if ([ 'input', 'textarea' ].indexOf(((e.target as HTMLElement).tagName || 'input').toLowerCase()) < 0) { - if (!visible && e.key.toLowerCase() === 'k') { + if (!visible && e.metaKey && e.key.toLowerCase() === '/') { setVisible(true); } }