fix altKey
This commit is contained in:
@@ -42,7 +42,8 @@ export function SearchWidget({
|
||||
|
||||
const onKeyPress = (e: React.KeyboardEvent) => {
|
||||
e.stopPropagation();
|
||||
if (canOpenApp && e.metaKey && e.key === 'Enter') {
|
||||
console.log({ e });
|
||||
if (canOpenApp && e.altKey && e.key === 'Enter') {
|
||||
onOpenApp();
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user